44 - push
55
66jobs :
7- Lint :
8- runs-on : ubuntu-latest
9- steps :
10- - uses : actions/checkout@v4
11- with :
12- fetch-depth : 0
13- - uses : actions/setup-node@v4
14- with :
15- node-version : " 20.x"
16- - name : Install dependencies
17- run : yarn
18- - name : Lint
19- run : yarn run lint
20-
217 Test :
22- needs : Lint
23- name : ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests
24- runs-on : ${{ matrix.os }}
25- strategy :
26- fail-fast : false
27- matrix :
28- nodeVersion : ["14.x", "16.x", "18.x", "20.x", "22.x"]
29- os : [ubuntu-latest, windows-latest]
30- steps :
31- - uses : actions/checkout@v4
32- with :
33- fetch-depth : 0
34- - uses : actions/setup-node@v4
35- with :
36- node-version : ${{ matrix.nodeVersion }}
37- - name : Install dependencies
38- run : yarn
39- - name : Run tests
40- run : yarn run test
41- env :
42- SNOOPLOGG : " *"
43-
44- MacOSTest :
45- needs : Lint
46- name : ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests
47- runs-on : ${{ matrix.os }}
48- strategy :
49- fail-fast : false
50- matrix :
51- nodeVersion : ["16.x", "18.x", "20.x", "22.x"]
52- os : [macos-latest]
53- steps :
54- - uses : actions/checkout@v4
55- with :
56- fetch-depth : 0
57- - uses : actions/setup-node@v4
58- with :
59- node-version : ${{ matrix.nodeVersion }}
60- - name : Install dependencies
61- run : yarn
62- - name : Run tests
63- run : yarn run test
64- env :
65- SNOOPLOGG : " *"
66-
67- MacOS14Test :
68- needs : Lint
698 name : ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests
709 runs-on : ${{ matrix.os }}
7110 strategy :
7211 fail-fast : false
7312 matrix :
74- nodeVersion : ["14 .x"]
75- os : [macos -latest]
13+ nodeVersion : ["22 .x"]
14+ os : [windows -latest]
7615 steps :
7716 - uses : actions/checkout@v4
7817 with :
7918 fetch-depth : 0
8019 - uses : actions/setup-node@v4
8120 with :
8221 node-version : ${{ matrix.nodeVersion }}
83- architecture : " x64"
8422 - name : Install dependencies
85- run : yarn
23+ run :
24+ - where node
25+ - yarn
8626 - name : Run tests
8727 run : yarn run test
8828 env :
89- SNOOPLOGG : " *"
29+ SNOOPLOGG : " *"
0 commit comments