File tree 3 files changed +11
-8
lines changed
3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -380,6 +380,12 @@ jobs:
380
380
if : ${{ github.event_name == 'push' }}
381
381
runs-on : ubuntu-latest
382
382
383
+ permissions :
384
+ contents : write # to be able to publish a GitHub release
385
+ issues : write # to be able to comment on released issues
386
+ pull-requests : write # to be able to comment on released pull requests
387
+ id-token : write # to enable use of OIDC for npm provenance
388
+
383
389
steps :
384
390
385
391
@@ -391,6 +397,9 @@ jobs:
391
397
392
398
- run : npm ci
393
399
400
+ - name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
401
+ run : npm audit signatures
402
+
394
403
- env :
395
404
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
396
405
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 8
8
release :
9
9
name : Release
10
10
runs-on : ubuntu-latest
11
- permissions :
12
- contents : write # to be able to publish a GitHub release
13
- issues : write # to be able to comment on released issues
14
- pull-requests : write # to be able to comment on released pull requests
15
- id-token : write # to enable use of OIDC for npm provenance
16
11
steps :
17
12
18
13
21
16
with :
22
17
node-version : 18
23
18
cache : ' npm'
24
- - name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
25
- run : npm audit signatures
26
19
- name : Tag latest release
27
20
run : |
28
21
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
Original file line number Diff line number Diff line change 38
38
"node" : " >=18"
39
39
},
40
40
"publishConfig" : {
41
- "tag" : " next"
41
+ "tag" : " next" ,
42
+ "provenance" : true
42
43
},
43
44
"dependencies" : {
44
45
"@azure/core-auth" : " ^1.7.2" ,
You can’t perform that action at this time.
0 commit comments