File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 1- # https://github.com/actions/starter-workflows/blob/c934669ce246e6d64e54006b714b04199cbe445b /ci/node.js.yml
1+ # https://github.com/actions/starter-workflows/blob/a85155b04a1b885de7a5021312303fe5c1cb58e4 /ci/node.js.yml
22
33name : Node.js CI
44
@@ -11,16 +11,15 @@ jobs:
1111
1212 strategy :
1313 matrix :
14- node-version : [12.x, 14.x]
14+ node-version : [12.x, 14.x, 16.x ]
1515
1616 steps :
1717 - uses : actions/checkout@v2
1818 - name : Use Node.js ${{matrix.node-version}}
19- uses : actions/setup-node@v1
19+ uses : actions/setup-node@v2
2020 with :
2121 node-version : ${{matrix.node-version}}
22+ cache : ' npm'
2223 - run : npm ci
2324 - run : npm run lint
2425 - run : npm run build
25- env :
26- CI : true
Original file line number Diff line number Diff line change 1- # https://github.com/actions/starter-workflows/blob/c934669ce246e6d64e54006b714b04199cbe445b /ci/npm-publish.yml
1+ # https://github.com/actions/starter-workflows/blob/a85155b04a1b885de7a5021312303fe5c1cb58e4 /ci/npm-publish.yml
22
33name : Node.js Package
44
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v2
14- - uses : actions/setup-node@v1
14+ - uses : actions/setup-node@v2
1515 with :
16- node-version : 12
16+ node-version : 14
1717 - run : npm ci
1818 - run : npm run lint
1919 - run : npm run build
2323 runs-on : ubuntu-latest
2424 steps :
2525 - uses : actions/checkout@v2
26- - uses : actions/setup-node@v1
26+ - uses : actions/setup-node@v2
2727 with :
28- node-version : 12
28+ node-version : 14
2929 registry-url : https://registry.npmjs.org/
3030 - run : npm ci
3131 - run : npm publish --access public
You can’t perform that action at this time.
0 commit comments