File tree 3 files changed +10
-3
lines changed
3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
prerelease :
9
9
runs-on : ubuntu-latest
10
+ permissions :
11
+ id-token : write
12
+ contents : write
10
13
steps :
11
14
- uses : actions/checkout@v3
12
15
- uses : actions/setup-node@v3
37
40
run : npm version ${{ steps.extract.outputs.version }}-${{ steps.extract.outputs.tag }}
38
41
- name : Push changes
39
42
run : git push --follow-tags
40
- - name : Run npm publish
43
+ - name : Run npm publish --provenance
41
44
run : npm publish --tag=${{ steps.extract.outputs.tag }}
42
45
env :
43
46
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 6
6
jobs :
7
7
release-please :
8
8
runs-on : ubuntu-latest
9
+ permissions :
10
+ id-token : write
11
+ contents : write
12
+ pull-requests : write
9
13
steps :
10
14
- uses : navikt/github-app-token-generator@a3831f44404199df32d8f39f7c0ad9bb8fa18b1c
11
15
id : get-token
28
32
check-latest : true
29
33
registry-url : ' https://registry.npmjs.org'
30
34
if : ${{ steps.release.outputs.release_created }}
31
- - run : npm publish
35
+ - run : npm publish --provenance
32
36
if : ${{ steps.release.outputs.release_created }}
33
37
env :
34
38
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 43
43
},
44
44
"keywords" : [],
45
45
"license" : " MIT" ,
46
- "repository" : " netlify/functions" ,
46
+ "repository" : " https://github.com/ netlify/functions" ,
47
47
"bugs" : {
48
48
"url" : " https://github.com/netlify/functions/issues"
49
49
},
You can’t perform that action at this time.
0 commit comments