mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
ci: try releasing nuxt-edge
with provenance
This commit is contained in:
parent
5fd93d85c7
commit
753c4c2a3d
5
.github/workflows/nuxt2-edge.yml
vendored
5
.github/workflows/nuxt2-edge.yml
vendored
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user