File tree Expand file tree Collapse file tree 1 file changed +23
-22
lines changed
Expand file tree Collapse file tree 1 file changed +23
-22
lines changed Original file line number Diff line number Diff line change @@ -6,45 +6,46 @@ name: Node.js Package
66on :
77 release :
88 types : [created]
9+ workflow_dispatch :
910
1011jobs :
1112 build :
1213 runs-on : ubuntu-latest
1314 steps :
14- - uses : actions/checkout@v2
15- - uses : actions/setup-node@v2
15+ - uses : actions/checkout@v3
16+ - uses : actions/setup-node@v3
1617 with :
17- node-version : 12
18+ node-version : 18
1819 - run : npm ci
1920 - run : npm test
2021
2122 publish-npm :
2223 needs : build
2324 runs-on : ubuntu-latest
2425 steps :
25- - uses : actions/checkout@v2
26- - uses : actions/setup-node@v2
26+ - uses : actions/checkout@v3
27+ - uses : actions/setup-node@v3
2728 with :
28- node-version : 12
29+ node-version : 18
2930 registry-url : https://registry.npmjs.org/
3031 - run : npm ci
3132 - run : npm publish
3233 env :
3334 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
3435
35- publish-gpr :
36- needs : build
37- runs-on : ubuntu-latest
38- permissions :
39- packages : write
40- contents : read
41- steps :
42- - uses : actions/checkout@v2
43- - uses : actions/setup-node@v2
44- with :
45- node-version : 12
46- registry-url : https://npm.pkg.github.com/
47- - run : npm ci
48- - run : npm publish
49- env :
50- NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
36+ # publish-gpr:
37+ # needs: build
38+ # runs-on: ubuntu-latest
39+ # permissions:
40+ # packages: write
41+ # contents: read
42+ # steps:
43+ # - uses: actions/checkout@v3
44+ # - uses: actions/setup-node@v3
45+ # with:
46+ # node-version: 18
47+ # registry-url: https://npm.pkg.github.com/
48+ # - run: npm ci
49+ # - run: npm publish
50+ # env:
51+ # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments