File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 77 name : Build
88 strategy :
99 matrix :
10- os : [ubuntu-latest]
11- node : [13]
10+ os :
11+ - ubuntu-latest
12+ node-version :
13+ - 16
1214
1315 runs-on : ${{ matrix.os }}
1416 steps :
1517 - uses : actions/checkout@v2
1618 - name : Use Node.js ${{ matrix.node-version }}
17- uses : actions/setup-node@v1
19+ uses : actions/setup-node@v2
1820 with :
1921 node-version : ${{ matrix.node-version }}
22+ cache : npm
23+ cache-dependency-path : package.json
2024
2125 - name : Install Dependencies
2226 run : npm install
3034 runs-on : ubuntu-latest
3135 steps :
3236 - uses : actions/checkout@v2
33- - uses : actions/setup-node@v1
37+ - uses : actions/setup-node@v2
3438 with :
35- node-version : 13
39+ node-version : 16
40+ cache : npm
41+ cache-dependency-path : package.json
42+
3643 - run : npm install
3744 - run : ./scripts/generate-version.sh
3845 - run : ./scripts/npm-pack-testing.sh
@@ -44,10 +51,12 @@ jobs:
4451 runs-on : ubuntu-latest
4552 steps :
4653 - uses : actions/checkout@v2
47- - uses : actions/setup-node@v1
54+ - uses : actions/setup-node@v2
4855 with :
49- node-version : 13
56+ node-version : 16
5057 registry-url : https://registry.npmjs.org/
58+ cache : npm
59+ cache-dependency-path : package.json
5160 - run : npm install
5261 - run : ./scripts/generate-version.sh
5362 - run : ./scripts/package-publish-config-tag.sh
You can’t perform that action at this time.
0 commit comments