Skip to content

Commit 0f91db9

Browse files
committed
ci: enable provenance for edge releases
1 parent 6cc36f5 commit 0f91db9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ jobs:
118118
run: pnpm test:fixtures:webpack:dev
119119

120120
build-release:
121+
permissions:
122+
id-token: write
121123
if: |
122124
github.event_name == 'push' &&
123125
!contains(github.event.head_commit.message, '[skip-release]') &&
@@ -133,7 +135,7 @@ jobs:
133135
strategy:
134136
matrix:
135137
os: [ubuntu-latest]
136-
node: [16]
138+
node: [18]
137139

138140
steps:
139141
- uses: actions/checkout@v3
@@ -156,3 +158,4 @@ jobs:
156158
run: ./scripts/release-edge.sh
157159
env:
158160
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
161+
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)