chore(deps): update all non-major dependencies (#286) #291
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
branches: | |
- main | |
permissions: {} | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository_owner == 'nuxt' && github.event_name == 'push' }} | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- run: corepack enable | |
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | |
with: | |
node-version: 20 | |
registry-url: "https://registry.npmjs.org/" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Prepare build environment | |
run: pnpm dev:prepare | |
- name: nightly release | |
run: pnpm changelogen --canary nightly --publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} | |
NPM_CONFIG_PROVENANCE: true |