File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ jobs:
1616
1717 strategy :
1818 matrix :
19- node-version : [14 .x, 15 .x]
19+ node-version : [20 .x, 22 .x]
2020 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121
2222 steps :
23- - uses : actions/checkout@v2
23+ - uses : actions/checkout@v4
2424 - name : Use Node.js ${{ matrix.node-version }}
25- uses : actions/setup-node@v1
25+ uses : actions/setup-node@v4
2626 with :
2727 node-version : ${{ matrix.node-version }}
2828 - run : npm ci
Original file line number Diff line number Diff line change 44 release :
55 types : [created]
66
7+ permissions :
8+ id-token : write
9+
710jobs :
811 publish-npm :
912 runs-on : ubuntu-latest
1013 steps :
11- - uses : actions/checkout@v3
12- - uses : actions/setup-node@v3
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-node@v4
1316 with :
14- node-version : 14
17+ node-version : 22
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 --ignore-scripts publish
25+ - run : npm whoami; npm --ignore-scripts publish --provenance
2326 env :
2427 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments