File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ jobs:
4848 name : build
4949 - uses : actions/setup-node@v4
5050 with :
51- node-version : 14 .x
51+ node-version : 20 .x
5252 registry-url : ' https://registry.npmjs.org'
53- - name : Update npm to compatible version (required for OIDC)
54- run : npm install -g npm@8
53+ - name : Update npm to latest (required for OIDC)
54+ run : npm install -g npm@latest
5555 - uses : rlespinasse/github-slug-action@v3.x
5656 - name : Append commit hash to package version
5757 run : ' sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -73,10 +73,10 @@ jobs:
7373 name : build
7474 - uses : actions/setup-node@v4
7575 with :
76- node-version : 14 .x
76+ node-version : 20 .x
7777 registry-url : ' https://registry.npmjs.org'
78- - name : Update npm to compatible version (required for OIDC)
79- run : npm install -g npm@8
78+ - name : Update npm to latest (required for OIDC)
79+ run : npm install -g npm@latest
8080 - name : Disable pre- and post-publish actions
8181 run : ' sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
8282 - name : Publish to npm
You can’t perform that action at this time.
0 commit comments