Skip to content

Commit ac1a28e

Browse files
committed
🐛 Try to fix errors for CI (#2500)
1 parent 9474c88 commit ac1a28e

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ jobs:
3434
- name: Check out Git repository
3535
uses: actions/checkout@v5
3636

37-
- name: Use Node.js ${{ matrix.node-version }}
38-
uses: actions/setup-node@v4
39-
with:
40-
node-version: ${{ matrix.node-version }}
41-
cache: 'pnpm'
42-
4337
- name: Setup pnpm
4438
uses: pnpm/action-setup@v4
4539
with:
4640
# Auto-detect pnpm version from package.json (requires packageManager in package.json)
4741
package_json_path: './package.json'
4842
run_install: false
4943

44+
- name: Use Node.js ${{ matrix.node-version }}
45+
uses: actions/setup-node@v4
46+
with:
47+
node-version: ${{ matrix.node-version }}
48+
cache: 'pnpm'
49+
5050
- name: Install dependencies
5151
run: pnpm install --frozen-lockfile
5252

@@ -78,20 +78,20 @@ jobs:
7878
- name: Check out Git repository
7979
uses: actions/checkout@v5
8080

81-
- name: Setup Node.js
82-
uses: actions/setup-node@v4
83-
with:
84-
node-version: 22
85-
check-latest: true
86-
cache: 'pnpm'
87-
8881
- name: Setup pnpm
8982
uses: pnpm/action-setup@v4
9083
with:
9184
# Auto-detect pnpm version from package.json (requires packageManager in package.json)
9285
package_json_path: './package.json'
9386
run_install: false
9487

88+
- name: Setup Node.js
89+
uses: actions/setup-node@v4
90+
with:
91+
node-version: 22
92+
check-latest: true
93+
cache: 'pnpm'
94+
9595
- name: Install dependencies
9696
run: pnpm install --frozen-lockfile
9797

@@ -129,20 +129,20 @@ jobs:
129129
- name: Check out Git repository
130130
uses: actions/checkout@v5
131131

132-
- name: Setup Node.js
133-
uses: actions/setup-node@v4
134-
with:
135-
node-version: 22
136-
check-latest: true
137-
cache: 'pnpm'
138-
139132
- name: Setup pnpm
140133
uses: pnpm/action-setup@v4
141134
with:
142135
# Auto-detect pnpm version from package.json (requires packageManager in package.json)
143136
package_json_path: './package.json'
144137
run_install: false
145138

139+
- name: Setup Node.js
140+
uses: actions/setup-node@v4
141+
with:
142+
node-version: 22
143+
check-latest: true
144+
cache: 'pnpm'
145+
146146
- name: Install dependencies
147147
run: pnpm install --frozen-lockfile
148148

0 commit comments

Comments
 (0)