File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,20 +10,13 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout the project
13- uses : actions/checkout@v2
14- - name : Cache node modules
15- uses : actions/cache@v2
13+ uses : actions/checkout@v3
14+ - name : Use Node.js 16.x (LTS)
15+ uses : actions/setup-node@v3
1616 with :
17- path : ~/.npm
18- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
19- restore-keys : |
20- ${{ runner.os }}-node-
21- - name : Use Node.js 13.11.0
22- uses : actions/setup-node@v1
23- with :
24- node-version : 13.11.0
25- - name : Install dependencies
26- run : npm i
17+ node-version : 16.x
18+ cache : ' npm'
19+ - run : npm ci
2720 - name : Lint Codebase
2821 run : npm run lint
2922 - name : Run Node.js Tests
Original file line number Diff line number Diff line change 88 publish-npm :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v3
12- - uses : actions/setup-node@v3
11+ - name : Checkout the project
12+ uses : actions/checkout@v3
13+ - name : Use Node.js 16.x (LTS)
14+ uses : actions/setup-node@v3
1315 with :
14- node-version : 14
16+ node-version : 16.x
1517 registry-url : https://registry.npmjs.org/
1618 cache : npm
1719 - run : npm ci
You can’t perform that action at this time.
0 commit comments