File tree 3 files changed +12
-9
lines changed
3 files changed +12
-9
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 5
5
build :
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/checkout@v2
9
- - name : Use Node.js 18.x
10
- uses : actions/setup-node@v1
8
+ - uses : actions/checkout@v4
9
+ - name : Use Node.js
10
+ uses : actions/setup-node@v4
11
11
with :
12
- node-version : 18 .x
12
+ node-version : 22 .x
13
13
- name : npm install, build, and test
14
14
run : |
15
15
npm install
Original file line number Diff line number Diff line change 4
4
release :
5
5
types : [created]
6
6
7
+ permissions :
8
+ id-token : write
9
+
7
10
jobs :
8
11
publish-npm :
9
12
runs-on : ubuntu-latest
10
13
steps :
11
- - uses : actions/checkout@v3
12
- - uses : actions/setup-node@v3
14
+ - uses : actions/checkout@v4
15
+ - uses : actions/setup-node@v4
13
16
with :
14
- node-version : 18
17
+ node-version : 22
15
18
registry-url : https://registry.npmjs.org/
16
19
cache : npm
17
20
- run : npm ci
18
21
- run : npm test
19
22
- run : npm version ${TAG_NAME} --git-tag-version=false
20
23
env :
21
24
TAG_NAME : ${{ github.event.release.tag_name }}
22
- - run : npm whoami; npm --ignore-scripts publish
25
+ - run : npm whoami; npm --ignore-scripts publish --provenance
23
26
env :
24
27
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments