File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 14
14
- uses : actions/checkout@v4
15
15
- uses : actions/setup-node@v4
16
16
with :
17
- node-version : 19
17
+ node-version : 22
18
18
- run : npm install
19
19
- run : npm test
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Publish
2
2
permissions :
3
3
contents : read
4
4
pull-requests : write
5
+ id-token : write
5
6
on :
6
7
release :
7
8
types : [created]
13
14
- uses : actions/checkout@v4
14
15
- uses : actions/setup-node@v4
15
16
with :
16
- node-version : 20
17
+ node-version : 22
17
18
registry-url : https://registry.npmjs.org/
18
19
cache : npm
19
20
- run : npm ci
23
24
npm version ${TAG_NAME} --git-tag-version=false
24
25
env:
25
26
TAG_NAME: ${{github.event.release.tag_name}}
26
- - run : npm whoami; npm --ignore-scripts publish
27
+ - run : npm whoami; npm --ignore-scripts publish --provenance
27
28
env :
28
29
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments