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,18 +12,18 @@ jobs:
1212 runs-on : macos-latest
1313 steps :
1414 - name : Checkout the project
15- uses : actions/checkout@v3
15+ uses : actions/checkout@v5
1616 - name : Cache node modules
17- uses : actions/cache@v3
17+ uses : actions/cache@v5
1818 with :
1919 path : ~/.npm
2020 key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2121 restore-keys : |
2222 ${{ runner.os }}-node-
23- - name : Use Node.js 14.7 .0
24- uses : actions/setup-node@v3
23+ - name : Use Node.js 24 .0
24+ uses : actions/setup-node@v5
2525 with :
26- node-version : ' 17 '
26+ node-version : ' 24 '
2727 - name : Install dependencies
2828 run : npm i
2929 - name : Run Node.js Tests
Original file line number Diff line number Diff line change 77jobs :
88 publish-npm :
99 runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
12+ id-token : write
1013 steps :
11- - uses : actions/checkout@v3
12- - uses : actions/setup-node@v3
14+ - uses : actions/checkout@v5
15+ - uses : actions/setup-node@v5
1316 with :
14- node-version : 22
17+ node-version : 24
1518 registry-url : https://registry.npmjs.org/
1619 cache : npm
1720 - run : npm ci
1821 - run : npm test
1922 - run : npm version ${TAG_NAME} --git-tag-version=false
2023 env :
2124 TAG_NAME : ${{ github.event.release.tag_name }}
22- - run : npm whoami; npm publish
23- env :
24- NODE_AUTH_TOKEN : ${{secrets.npm_token}}
25+ - run : npm publish --provenance --ignore-scripts
You can’t perform that action at this time.
0 commit comments