Skip to content

Commit cafca7d

Browse files
committed
fix(ci): fix pnpm setup for staging deploy
- Install pnpm in GitHub Actions - Enable pnpm cache for faster CI builds - Ensure build and deploy to staging works correctly
1 parent 9547fcf commit cafca7d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/adev-staging-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
submodules: true
1919
- name: Setup Node JS
2020
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
21+
with:
22+
node-version-file: '.node-version'
23+
cache: pnpm
24+
- name: Setup pnpm
25+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # 4.1.0
2126
- name: Setup Bazel
2227
uses: bazel-contrib/setup-bazel@4fd964a13a440a8aeb0be47350db2fc640f19ca8 # 0.15.0
2328
with:

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
submodules: true
1616
- name: Setup Node JS
1717
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
18-
- name: Setup pnpm
19-
uses: pnpm/action-setup@v4
2018
with:
21-
version: 10.17.1
19+
node-version-file: '.node-version'
20+
cache: pnpm
21+
- name: Setup pnpm
22+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # 4.1.0
2223
- name: Setup Bazel
2324
uses: bazel-contrib/setup-bazel@4fd964a13a440a8aeb0be47350db2fc640f19ca8 # 0.15.0
2425
with:

0 commit comments

Comments
 (0)