@@ -17,28 +17,18 @@ jobs:
1717
1818 steps :
1919 - uses : actions/checkout@v6
20- - uses : actions/setup-node@v6
21- with :
22- node-version : 24
23- cache : pnpm
24- cache-dependency-path : pnpm-lock.yaml
20+
2521 - name : Install pnpm
2622 uses : pnpm/action-setup@v4
2723 id : pnpm-install
2824 with :
2925 run_install : false
30-
31- - uses : actions/cache@v4
32- name : Retrieve Cache
26+ - uses : actions/setup-node@v6
3327 with :
34- path : |
35- node_modules/.cache
36- node_modules/.vitest
37- key : ${{ runner.os }}-build-${{ hashFiles('**/pnpm-lock.yaml') }}
38- restore-keys : |
39- ${{ runner.os }}-build-${{ hashFiles('**/pnpm-lock.yaml') }}
40- ${{ runner.os }}-build-
41- ${{ runner.os }}-
28+ node-version : 24
29+ cache : pnpm
30+ cache-dependency-path : pnpm-lock.yaml
31+
4232
4333 - run : pnpm install
4434 - run : pnpm run check:all
@@ -53,17 +43,18 @@ jobs:
5343
5444 steps :
5545 - uses : actions/checkout@v6
56- - uses : actions/setup-node@v6
57- with :
58- node-version : ${{ matrix.node-version }}
59- cache : pnpm
60- cache-dependency-path : pnpm-lock.yaml
6146
6247 - name : Install pnpm
6348 uses : pnpm/action-setup@v4
6449 id : pnpm-install
6550 with :
6651 run_install : false
52+ - uses : actions/setup-node@v6
53+ with :
54+ node-version : ${{ matrix.node-version }}
55+ cache : pnpm
56+ cache-dependency-path : pnpm-lock.yaml
57+
6758 - run : pnpm test:all
6859
6960 publish :
@@ -78,16 +69,18 @@ jobs:
7869
7970 steps :
8071 - uses : actions/checkout@v4
81- - uses : actions/setup-node@v4
82- with :
83- node-version : 24
84- cache : pnpm
85- registry-url : ' https://registry.npmjs.org'
72+
8673 - name : Install pnpm
8774 uses : pnpm/action-setup@v4
8875 id : pnpm-install
8976 with :
9077 run_install : false
78+ - uses : actions/setup-node@v4
79+ with :
80+ node-version : 24
81+ cache : pnpm
82+ cache-dependency-path : pnpm-lock.yaml
83+ registry-url : ' https://registry.npmjs.org'
9184 - run : pnpm install
9285
9386 - name : Determine npm tag
0 commit comments