File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - uses : actions/checkout@v1
16- - name : Use Node.js 12 .x
17- uses : actions/setup-node@v1
15+ - uses : actions/checkout@v5
16+ - name : Use Node.js 24 .x
17+ uses : actions/setup-node@v5
1818 with :
19- node-version : 12 .x
19+ node-version : 24 .x
2020 - name : npm install, build, and test
2121 run : |
2222 npm install
Original file line number Diff line number Diff line change 99jobs :
1010 publish-npm :
1111 runs-on : ubuntu-latest
12+ permissions :
13+ id-token : write
1214 steps :
13- - uses : actions/checkout@v3
14- - uses : actions/setup-node@v3
15+ - uses : actions/checkout@v5
16+ - uses : actions/setup-node@v5
1517 with :
16- node-version : 14
18+ node-version : 24
1719 registry-url : https://registry.npmjs.org/
1820 cache : npm
1921 - run : npm ci
2022 - run : npm test
2123 - run : npm version ${TAG_NAME} --git-tag-version=false
2224 env :
2325 TAG_NAME : ${{ github.event.release.tag_name }}
24- - run : npm whoami; npm --ignore-scripts publish
25- env :
26- NODE_AUTH_TOKEN : ${{secrets.npm_token}}
26+ - run : npm --ignore-scripts publish --provenance
You can’t perform that action at this time.
0 commit comments