File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change 44name : Node.js Package
55
66on :
7- release:
8- types: [created]
9- workflow_dispatch:
7+ release :
8+ types : [created]
9+ workflow_dispatch :
1010
1111jobs :
12- build:
13- runs-on: ubuntu-latest
14- steps:
15- - uses: actions/checkout@v2
16- - uses: actions/setup-node@v1
17- with:
18- node-version: 14
19- - run: npm ci
20- - run: npm test
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v2
16+ - uses : actions/setup-node@v1
17+ with :
18+ node-version : 16
19+ - run : npm ci
20+ - run : npm test
2121
2222publish-npm :
23- needs: build
24- runs-on: ubuntu-latest
25- steps:
26- - uses: actions/checkout@v2
27- - uses: actions/setup-node@v1
28- with:
29- node-version: 14
30- registry-url: https://registry.npmjs.org/
31- - run: npm ci
32- - run: npm publish
33- env:
34- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
23+ needs : build
24+ runs-on : ubuntu-latest
25+ steps :
26+ - uses : actions/checkout@v2
27+ - uses : actions/setup-node@v1
28+ with :
29+ node-version : 16
30+ registry-url : https://registry.npmjs.org/
31+ - run : npm ci
32+ - run : npm publish
33+ env :
34+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments