File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,10 @@ jobs:
1919 runs-on : ubuntu-20.04
2020 steps :
2121 - uses : actions/checkout@v2
22- - name : Get yarn cache directory path
23- id : yarn-cache-dir-path
24- run : echo "::set-output name=dir::$(yarn cache dir)"
25- - uses : actions/cache@v2
22+ - uses : actions/setup-node@v2
2623 with :
27- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
28- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
29- restore-keys : |
30- ${{ runner.os }}-yarn-
24+ node-version : " 16"
25+ cache : yarn
3126 - run : yarn
3227 - run : yarn lint
3328 - run : yarn build --noEmit
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ inputs:
4343runs :
4444 using : composite
4545 steps :
46+ - uses : actions/setup-node@v2
47+ with :
48+ node-version : " 16"
4649 - name : Set up action
4750 run : |
4851 echo "::group::Set up action"
Original file line number Diff line number Diff line change 88 "split2" : " ^4.0.0" ,
99 "subresources" : " ^1.2.0"
1010 },
11+ "engines" : {
12+ "node" : " ^16"
13+ },
1114 "scripts" : {
1215 "build" : " tsc -p tsconfig.prod.json" ,
1316 "dev" : " tsc -p tsconfig.json -w" ,
You can’t perform that action at this time.
0 commit comments