File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 55 tags :
66 - ' v*'
77
8+ permissions :
9+ id-token : write # Required for OIDC
10+ contents : read
11+
812jobs :
913 build :
1014 runs-on : ubuntu-latest
1115 steps :
1216 - uses : actions/checkout@v3
13- - uses : actions/setup-node@v3
17+ - uses : actions/setup-node@v4
1418 with :
15- node-version : 18
19+ node-version : ' 20 '
1620 - run : npm ci
1721 - run : |
1822 bin/start-e2e-test-server.sh
@@ -42,13 +46,14 @@ jobs:
4246 runs-on : ubuntu-latest
4347 steps :
4448 - uses : actions/checkout@v3
45- - uses : actions/setup-node@v3
49+ - uses : actions/setup-node@v4
4650 with :
47- node-version : 16
48- registry-url : https://registry.npmjs.org/
51+ node-version : ' 20'
52+ registry-url : ' https://registry.npmjs.org'
53+ # Ensure npm 11.5.1 or later is installed
54+ - name : Update npm
55+ run : npm install -g npm@latest
4956 - run : npm ci
5057 - run : npm run build --if-present
5158 - run : npm publish
52- env :
53- NODE_AUTH_TOKEN : ${{secrets.npm_token}}
5459
You can’t perform that action at this time.
0 commit comments