fix: use free path for virtual plugin template #481
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- run: corepack enable | |
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
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 |