File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 7
7
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
8
8
// Append -bullseye or -buster to pin to an OS version.
9
9
// Use -bullseye variants on local arm64/Apple Silicon.
10
- "args" : {"VARIANT" : " 16 " }
10
+ "args" : {"VARIANT" : " 22 " }
11
11
},
12
12
13
13
// Set *default* container specific settings.json values on container create.
Original file line number Diff line number Diff line change 12
12
13
13
strategy :
14
14
matrix :
15
- node-version : [18, 20 ]
15
+ node-version : [20, 22 ]
16
16
17
17
steps :
18
18
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 4
4
release :
5
5
types : [created]
6
6
7
+ permissions :
8
+ contents : read
9
+ id-token : write
10
+
7
11
jobs :
8
12
publish-npm :
9
13
runs-on : ubuntu-latest
10
14
steps :
11
15
- uses : actions/checkout@v4
12
16
- uses : actions/setup-node@v4
13
17
with :
14
- node-version : 18
18
+ node-version : 22
15
19
registry-url : https://registry.npmjs.org/
16
20
cache : npm
17
21
- run : npm ci
18
22
- run : npm test
19
23
- run : npm version ${TAG_NAME} --git-tag-version=false
20
24
env :
21
25
TAG_NAME : ${{ github.event.release.tag_name }}
22
- - run : npm whoami; npm --ignore-scripts publish
26
+ - run : npm whoami; npm --ignore-scripts publish --provenance
23
27
env :
24
28
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments