File tree Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 2929 test-node :
3030 name :
3131 # prettier-ignore
32- Test on Node.js v${{ matrix.node-version }} and eslint v${{matrix.eslint-version }}
32+ Test on Node.js v${{ matrix.node-version }} and eslint v${{ matrix.eslint-version }}
3333 strategy :
3434 fail-fast : false
3535 matrix :
@@ -40,13 +40,14 @@ jobs:
4040 steps :
4141 - uses : actions/checkout@v2
4242 - name : Use Node.js ${{ matrix.node-version }}
43- uses : actions/setup-node@v2-beta
43+ uses : actions/setup-node@v2
4444 with :
4545 node-version : ${{ matrix.node-version }}
46- - name : install with eslint v${{matrix.eslint-version }}
46+ cache : npm
47+ - name : install with eslint v${{ matrix.eslint-version }}
4748 run : |
4849 npm ci
49- npm install -D eslint@${{matrix.eslint-version }}
50+ npm install -D eslint@${{ matrix.eslint-version }}
5051 - name : prettier
5152 run : npm run prettier:check
5253 - name : typecheck
6667
6768 steps :
6869 - uses : actions/checkout@v2
69- - uses : actions/setup-node@v2-beta
70+ - uses : actions/setup-node@v2
7071 with :
71- node-version : 12.x
72+ node-version : 14.x
73+ cache : npm
7274 - name : install
7375 run : npm ci
7476 - name : prettier
Original file line number Diff line number Diff line change @@ -14,16 +14,10 @@ jobs:
1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v2
17- - uses : actions/setup-node@v2-beta
17+ - uses : actions/setup-node@v2
1818 with :
19- node-version : ' 12.x'
20-
21- - uses : actions/cache@v2
22- with :
23- path : ~/.npm
24- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
25- restore-keys : |
26- ${{ runner.os }}-node-
19+ node-version : 14.x
20+ cache : npm
2721
2822 - name : install
2923 run : npm ci
You can’t perform that action at this time.
0 commit comments