File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- # build and test on linux, windows, mac with node 18,20
21name : CI
32
43on :
@@ -22,15 +21,15 @@ permissions:
2221 contents : read # to fetch code (actions/checkout)
2322
2423jobs :
25- # "checks" job runs on linux + 16 only and checks that install, build, lint and audit work
24+ # "checks" job runs on linux + node lts only and checks that install, build, lint and audit work
2625 # it also primes the pnpm store cache for linux, important for downstream tests
2726 checks :
2827 timeout-minutes : 5
2928 runs-on : ${{ matrix.os }}
3029 strategy :
3130 matrix :
3231 # pseudo-matrix for convenience, NEVER use more than a single combination
33- node : [20 ]
32+ node : [22 ]
3433 os : [ubuntu-latest]
3534 steps :
3635 - uses : actions/checkout@v4
@@ -68,18 +67,19 @@ jobs:
6867 if : (${{ success() }} || ${{ failure() }})
6968 run : pnpm generate:types && [ "`git status --porcelain=v1`" == "" ]
7069
70+ # "test" job runs on linux, windows, mac with node active lts and linux with node maintenance lts
7171 test :
7272 timeout-minutes : 10
7373 runs-on : ${{ matrix.os }}
7474 strategy :
7575 fail-fast : false
7676 matrix :
77- node : [20 ]
77+ node : [22 ]
7878 os : [ubuntu-latest, macos-latest, windows-latest]
7979 include :
8080 - node : 18
8181 os : ubuntu-latest
82- - node : 22
82+ - node : 20
8383 os : ubuntu-latest
8484 steps :
8585 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1919 strategy :
2020 matrix :
2121 # pseudo-matrix for convenience, NEVER use more than a single combination
22- node : [20 ]
22+ node : [22 ]
2323 os : [ubuntu-latest]
2424 steps :
2525 - name : checkout
You can’t perform that action at this time.
0 commit comments