File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -3,24 +3,23 @@ name: Test package
33on :
44 schedule :
55 - cron : " 0 */6 * * *"
6+ workflow_dispatch :
67
78jobs :
89 test :
910 runs-on : ubuntu-latest
1011
1112 steps :
1213 - name : Checkout code
13- uses : actions/checkout@v4
14+ uses : actions/checkout@v5
1415
1516 - name : Set up Node.js
16- uses : actions/setup-node@v3
17+ uses : actions/setup-node@v6
1718 with :
18- node-version : " 20 "
19+ node-version : " 24 "
1920
2021 - name : Install pnpm
21- uses : pnpm/action-setup@v3
22- with :
23- version : 8
22+ uses : pnpm/action-setup@v4
2423
2524 - name : Install dependencies and build package
2625 run : |
Original file line number Diff line number Diff line change @@ -10,17 +10,15 @@ jobs:
1010
1111 steps :
1212 - name : Checkout code
13- uses : actions/checkout@v4
13+ uses : actions/checkout@v5
1414
1515 - name : Set up Node.js
16- uses : actions/setup-node@v3
16+ uses : actions/setup-node@v6
1717 with :
18- node-version : ' 20 '
18+ node-version : " 24 "
1919
2020 - name : Install pnpm
21- uses : pnpm/action-setup@v3
22- with :
23- version : 8
21+ uses : pnpm/action-setup@v4
2422
2523 - name : Install dependencies and build
2624 run : |
4240 if : " !contains(github.ref_name, 'canary')"
4341 run : |
4442 npm set //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}
43+ npm version --no-git-tag-version ${{github.ref_name}}
4544 npm publish --access public
4645 working-directory : ./package
4746
You can’t perform that action at this time.
0 commit comments