Skip to content

Commit f45b569

Browse files
committed
chore: support provenance
1 parent 9203eb5 commit f45b569

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10+
environment: npm
11+
permissions:
12+
contents: read
13+
id-token: write
1014
steps:
1115
- name: Setup Git Config
1216
run: |
@@ -79,6 +83,6 @@ jobs:
7983
- run: pnpm build
8084
env:
8185
CI: true
82-
- run: pnpm release:npm:registry
86+
- run: NPM_CONFIG_PROVENANCE=true pnpm release:npm:registry
8387
env:
8488
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)