File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,11 +8,13 @@ on: [push, pull_request]
88jobs :
99 build :
1010 runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
1113 strategy :
1214 matrix :
1315 node-version : [20, 22, 24]
1416 steps :
15- - uses : actions/checkout@v5
17+ - uses : actions/checkout@v6
1618 - name : Use Node.js ${{ matrix.node-version }}
1719 uses : actions/setup-node@v6
1820 with :
Original file line number Diff line number Diff line change 1515 build :
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v5
19- - uses : actions/setup-node@v4
18+ - uses : actions/checkout@v6
19+ - uses : actions/setup-node@v6
2020 with :
2121 node-version : latest
2222 - run : npm install
@@ -27,10 +27,10 @@ jobs:
2727 needs : build
2828 runs-on : ubuntu-latest
2929 steps :
30- - uses : actions/checkout@v5
30+ - uses : actions/checkout@v6
3131 - uses : actions/setup-node@v6
3232 with :
3333 node-version : latest
3434 registry-url : https://registry.npmjs.org/
3535 - run : npm install
36- - run : npm publish
36+ - run : npm publish --provenance --access public
You can’t perform that action at this time.
0 commit comments