File tree 1 file changed +4
-31
lines changed
1 file changed +4
-31
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,12 @@ jobs:
35
35
version : latest
36
36
- run : pnpm i
37
37
- run : pnpm run lint
38
- test-node-versions :
39
- runs-on : ubuntu-latest
38
+ test :
40
39
strategy :
41
40
matrix :
42
- node-version : [18.x, 20.x]
41
+ node-version : [18.x, 20.x, 21.x]
42
+ os : [ubuntu-latest, windows-latest, mac-latest]
43
+ runs-on : ${{ matrix.os }}
43
44
steps :
44
45
- uses : actions/checkout@v3
45
46
- uses : actions/setup-node@v3
50
51
version : latest
51
52
- run : pnpm i
52
53
- run : pnpm test
53
- test-macos :
54
- runs-on : macos-latest
55
- steps :
56
- - uses : actions/checkout@v3
57
- - uses : actions/setup-node@v3
58
- with :
59
- node-version : 20
60
- - uses : pnpm/action-setup@v2
61
- with :
62
- version : latest
63
- - run : pnpm i
64
- - run : pnpm test
65
- env :
66
- CI_ENV : macos
67
- test-windows :
68
- runs-on : windows-latest
69
- steps :
70
- - uses : actions/checkout@v3
71
- - uses : actions/setup-node@v3
72
- with :
73
- node-version : 20
74
- - uses : pnpm/action-setup@v2
75
- with :
76
- version : latest
77
- - run : pnpm i
78
- - run : pnpm test
79
- env :
80
- CI_ENV : windows
You can’t perform that action at this time.
0 commit comments