ci: try releasing nuxt-edge with provenance

This commit is contained in:
Daniel Roe 2023-04-24 23:55:57 +01:00
parent 5fd93d85c7
commit 753c4c2a3d

View File

@ -9,6 +9,8 @@ jobs:
nightly: nightly:
if: github.repository_owner == 'nuxt' if: github.repository_owner == 'nuxt'
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
id-token: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@ -18,7 +20,7 @@ jobs:
run: git fetch --depth=1 origin "+refs/tags/*:refs/tags/*" run: git fetch --depth=1 origin "+refs/tags/*:refs/tags/*"
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 14 node-version: 18
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- name: install - name: install
run: yarn --check-files --frozen-lockfile --non-interactive run: yarn --check-files --frozen-lockfile --non-interactive
@ -48,4 +50,5 @@ jobs:
run: ./scripts/workspace-run npm publish -q run: ./scripts/workspace-run npm publish -q
env: env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
NPM_CONFIG_PROVENANCE: true