File tree Expand file tree Collapse file tree 4 files changed +21
-22
lines changed
Expand file tree Collapse file tree 4 files changed +21
-22
lines changed Original file line number Diff line number Diff line change 1717 - uses : pnpm/action-setup@v2
1818 - uses : actions/setup-node@v3
1919 with :
20- node-version : 16.x
20+ node-version : lts/*
2121 cache : pnpm
2222
2323 - name : Install
@@ -26,29 +26,29 @@ jobs:
2626 - name : Lint
2727 run : pnpm run lint
2828
29- # typecheck:
30- # runs-on: ubuntu-latest
31- # steps:
32- # - uses: actions/checkout@v3
33- # - uses: pnpm/action-setup@v2
34- # - uses: actions/setup-node@v3
35- # with:
36- # node-version: 16.x
37- # cache: pnpm
29+ typecheck :
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v3
33+ - uses : pnpm/action-setup@v2
34+ - uses : actions/setup-node@v3
35+ with :
36+ node-version : lts/*
37+ cache : pnpm
3838
39- # - name: Install
40- # run: pnpm install
39+ - name : Install
40+ run : pnpm install
4141
42- # - name: Typecheck
43- # run: pnpm run typecheck
42+ - name : Typecheck
43+ run : pnpm run typecheck
4444
4545 # check windows build
4646 build :
4747 runs-on : ${{ matrix.os }}
4848
4949 strategy :
5050 matrix :
51- node-version : [16.x ]
51+ node-version : [lts/* ]
5252 os : [ubuntu-latest, windows-latest]
5353 fail-fast : false
5454
Original file line number Diff line number Diff line change @@ -30,13 +30,12 @@ jobs:
3030 - name : Install pnpm
3131 uses : pnpm/action-setup@v2
3232 with :
33- version : 7
3433 run_install : true
3534
36- - name : Use Node.js 16
35+ - name : Use Node.js LTS
3736 uses : actions/setup-node@v3
3837 with :
39- node-version : 16
38+ node-version : lts/*
4039 registry-url : https://registry.npmjs.org/
4140 cache : pnpm
4241
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ jobs:
2424 version : 7
2525 run_install : true
2626
27- - name : Use Node.js 16
27+ - name : Use Node.js LTS
2828 uses : actions/setup-node@v3
2929 with :
30- node-version : 16
30+ node-version : lts/*
3131 registry-url : https://registry.npmjs.org/
3232 cache : pnpm
3333
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 run_install : true
2020
2121 # after pnpm
22- - name : Use Node.js 16
22+ - name : Use Node.js LTS
2323 uses : actions/setup-node@v3
2424 with :
25- node-version : 16
25+ node-version : lts/*
2626 registry-url : https://registry.npmjs.org/
2727 cache : pnpm
2828
You can’t perform that action at this time.
0 commit comments