Skip to content

Commit 447c6a5

Browse files
committed
put the pnpm install step above
1 parent cb2fbf9 commit 447c6a5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci-tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
2323

24-
- name: Setup Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v4
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: pnpm
29-
cache-dependency-path: pnpm-lock.yaml
30-
3124
- name: Install pnpm
3225
uses: pnpm/action-setup@v3
3326
with:
3427
version: latest
3528
# Set run_install to false because we want to run install in a separate step
3629
run_install: false
3730

31+
- name: Setup Node.js ${{ matrix.node-version }}
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: ${{ matrix.node-version }}
35+
cache: pnpm
36+
cache-dependency-path: pnpm-lock.yaml
37+
3838
- name: Install dependencies
3939
run: pnpm install --frozen-lockfile
4040

0 commit comments

Comments
 (0)