File tree Expand file tree Collapse file tree 1 file changed +26
-19
lines changed Expand file tree Collapse file tree 1 file changed +26
-19
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,28 @@ jobs:
1616 lint :
1717 runs-on : ubuntu-latest
1818
19- steps :
20- - uses : actions/checkout@v5
19+ strategy :
20+ matrix :
21+ node : [ 22 ]
2122
22- - uses : actions/setup-node@v5
23- with :
24- node-version : 22
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v5
2526
26- - name : Enable corepack
27- run : corepack enable
27+ - name : Install pnpm
28+ uses : pnpm/action-setup@v4
2829
29- - uses : pnpm/action-setup@v4
30+ - name : Install node
31+ uses : actions/setup-node@v5
3032 with :
31- version : 10.11.0
32- run_install : false
33+ node-version : ${{ matrix.node }}
34+ cache : pnpm
35+
36+ - name : Install pnpm
37+ uses : pnpm/action-setup@v4
3338
3439 - name : Install dependencies
35- run : pnpm install --frozen-lockfile
40+ run : pnpm install
3641
3742 - name : Lint
3843 run : pnpm run lint
@@ -41,22 +46,24 @@ jobs:
4146 runs-on : ubuntu-latest
4247
4348 steps :
44- - uses : actions/checkout@v5
49+ - name : Checkout
50+ uses : actions/checkout@v5
51+
52+ - name : Install pnpm
53+ uses : pnpm/action-setup@v4
4554
4655 - uses : actions/setup-node@v5
4756 with :
4857 node-version : 22
4958
50- - name : Enable corepack
51- run : corepack enable
52-
53- - uses : pnpm/action-setup@v4
59+ - name : Install node
60+ uses : actions/setup-node@v5
5461 with :
55- version : 10.11.0
56- run_install : false
62+ node- version : ${{ matrix.node }}
63+ cache : pnpm
5764
5865 - name : Install dependencies
59- run : pnpm install --frozen-lockfile
66+ run : pnpm install
6067
6168 - name : Playground prepare
6269 run : pnpm run dev:prepare
You can’t perform that action at this time.
0 commit comments