@@ -17,43 +17,68 @@ jobs:
1717 runs-on : ubuntu-latest
1818
1919 steps :
20- - uses : actions/checkout@v1
21- - uses : actions/setup-node@v1
20+ - uses : actions/checkout@v4
21+ - uses : pnpm/action-setup@v4
22+ - uses : actions/setup-node@v4
2223 with :
23- node-version : ' 12.x '
24+ node-version : 22
2425 - name : install dependencies
25- run : yarn install --frozen-lockfile --ignore-engines
26+ run : pnpm install
2627 - name : lint
27- run : yarn lint
28+ run : pnpm lint
2829
29- test :
30+ legacy-node- test :
3031 name : Tests
3132 runs-on : ubuntu-latest
3233
3334 strategy :
35+ fail-fast : false
3436 matrix :
35- node : ['6', '8', '10', '12', '14']
37+ node : ['6', '8', '10', '12', '14', '16', '18' ]
3638
3739 steps :
38- - uses : actions/checkout@v1
39- - uses : actions/setup-node@v1
40+ - uses : actions/checkout@v4
41+ - uses : actions/setup-node@v4
4042 with :
4143 node-version : ${{ matrix.node }}
44+ -
run :
cat <<< $(jq '.packageManager = "[email protected] "' package.json) > package.json 4245 - name : install dependencies
4346 run : yarn install --frozen-lockfile --ignore-engines
4447 - name : test
4548 run : yarn test
4649
50+ test :
51+ name : Tests
52+ runs-on : ubuntu-latest
53+
54+ strategy :
55+ fail-fast : false
56+ matrix :
57+ node : ['20', '22', '24']
58+
59+ steps :
60+ - uses : actions/checkout@v4
61+ - uses : pnpm/action-setup@v4
62+ - uses : actions/setup-node@v4
63+ with :
64+ node-version : ${{ matrix.node }}
65+ cache : pnpm
66+ - name : install dependencies
67+ run : pnpm install
68+ - name : test
69+ run : pnpm run test
70+
4771 floating-test :
4872 name : Floating dependencies
4973 runs-on : ubuntu-latest
5074
5175 steps :
52- - uses : actions/checkout@v1
53- - uses : actions/setup-node@v1
76+ - uses : actions/checkout@v4
77+ - uses : pnpm/action-setup@v4
78+ - uses : actions/setup-node@v4
5479 with :
55- node-version : ' 12.x '
80+ node-version : 22
5681 - name : install dependencies
57- run : yarn install --no-lockfile --ignore-engines
82+ run : pnpm install --no-lockfile
5883 - name : test
59- run : yarn test
84+ run : pnpm test
0 commit comments