File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 44name : Node.js Package
55
66on :
7+ workflow_dispatch :
78 release :
89 types : [created]
910
1011jobs :
11- build :
12- runs-on : ubuntu-latest
13- steps :
14- - uses : actions/checkout@v4
15- - uses : actions/setup-node@v4
16- with :
17- node-version : 20
18- - run : npm ci
19- - run : npm test
20-
2112 publish-npm :
22- needs : build
2313 runs-on : ubuntu-latest
2414 steps :
2515 - uses : actions/checkout@v4
2616 - uses : actions/setup-node@v4
2717 with :
28- node-version : 20
18+ node-version : ' >=22.12.0 '
2919 registry-url : https://registry.npmjs.org/
30- - run : npm ci
20+ - run : npm install
21+ - run : npm run ci
3122 - run : npm publish
3223 env :
3324 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v4
1313 - uses : actions/setup-node@v4
1414 with :
1515 node-version : ' >=22.12.0'
You can’t perform that action at this time.
0 commit comments