Skip to content

v3.21.0

v3.21.0 #1

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
# Remove default permissions of GITHUB_TOKEN for security
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions: {}
jobs:
release:
if: github.repository_owner == 'nuxt' && startsWith(github.event.head_commit.message, 'v')
concurrency:
group: release
permissions:
id-token: write
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: lts/*
registry-url: 'https://registry.npmjs.org/'
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install
- name: 🛠 Build project
run: pnpm build
- name: 📦 release nightly
run: node ./scripts/release.mjs
env:
NPM_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}
NPM_CONFIG_PROVENANCE: true