Skip to content

Commit 737a482

Browse files
committed
ci: install pnpm explicitly before frontend steps
1 parent 48f70c4 commit 737a482

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ jobs:
5454
with:
5555
bundler-cache: true
5656

57+
- name: Setup pnpm
58+
uses: pnpm/action-setup@v4
59+
with:
60+
version: 10.33.0
61+
5762
- name: Setup Node.js for OpenAPI lint tooling
5863
uses: actions/setup-node@v6
5964
with:
6065
node-version-file: ".tool-versions"
61-
cache: pnpm
62-
cache-dependency-path: frontend/pnpm-lock.yaml
63-
64-
- name: Enable Corepack
65-
run: corepack enable
6666

6767
- name: Install frontend dependencies for OpenAPI client verification
6868
run: pnpm install --frozen-lockfile
@@ -82,15 +82,15 @@ jobs:
8282
steps:
8383
- uses: actions/checkout@v6
8484

85+
- name: Setup pnpm
86+
uses: pnpm/action-setup@v4
87+
with:
88+
version: 10.33.0
89+
8590
- name: Setup Node.js
8691
uses: actions/setup-node@v6
8792
with:
8893
node-version-file: ".tool-versions"
89-
cache: pnpm
90-
cache-dependency-path: frontend/pnpm-lock.yaml
91-
92-
- name: Enable Corepack
93-
run: corepack enable
9494

9595
- name: Install dependencies
9696
run: pnpm install --frozen-lockfile
@@ -184,15 +184,15 @@ jobs:
184184
- name: Checkout code
185185
uses: actions/checkout@v6
186186

187+
- name: Setup pnpm
188+
uses: pnpm/action-setup@v4
189+
with:
190+
version: 10.33.0
191+
187192
- name: Setup Node.js for Docker build
188193
uses: actions/setup-node@v6
189194
with:
190195
node-version-file: ".tool-versions"
191-
cache: pnpm
192-
cache-dependency-path: frontend/pnpm-lock.yaml
193-
194-
- name: Enable Corepack
195-
run: corepack enable
196196

197197
- name: Install frontend dependencies
198198
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)