We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bfa69e commit 4c2be20Copy full SHA for 4c2be20
.github/workflows/ci.yml
@@ -13,14 +13,16 @@ jobs:
13
- uses: actions/setup-node@v4
14
with:
15
node-version: '20'
16
- cache: 'pnpm'
17
- cache-dependency-path: ../../pnpm-lock.yaml
+ # You can keep cache off for simplicity with npx:
+ # cache: 'pnpm'
18
+ # cache-dependency-path: pnpm-lock.yaml
19
- # 👇 installs pnpm on the runner
20
- - uses: pnpm/action-setup@v4
21
- with:
22
- version: 9
+ - name: Show tool versions
+ run: node -v && npm -v
+
23
+ # Use pnpm via npx so we don't need it preinstalled
24
+ - name: Install deps (pnpm via npx)
25
+ run: npx -y pnpm@9 install --frozen-lockfile
26
- - run: pnpm --version
- - run: pnpm install --frozen-lockfile
- - run: pnpm build
27
+ - name: Build
28
+ run: npx -y pnpm@9 build
0 commit comments