Skip to content

Commit 4c2be20

Browse files
Harmeet SinghHarmeet Singh
authored andcommitted
fix the yml3
1 parent 9bfa69e commit 4c2be20

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ jobs:
1313
- uses: actions/setup-node@v4
1414
with:
1515
node-version: '20'
16-
cache: 'pnpm'
17-
cache-dependency-path: ../../pnpm-lock.yaml
16+
# You can keep cache off for simplicity with npx:
17+
# cache: 'pnpm'
18+
# cache-dependency-path: pnpm-lock.yaml
1819

19-
# 👇 installs pnpm on the runner
20-
- uses: pnpm/action-setup@v4
21-
with:
22-
version: 9
20+
- name: Show tool versions
21+
run: node -v && npm -v
22+
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
2326

24-
- run: pnpm --version
25-
- run: pnpm install --frozen-lockfile
26-
- run: pnpm build
27+
- name: Build
28+
run: npx -y pnpm@9 build

0 commit comments

Comments
 (0)