Skip to content

Commit d5cd111

Browse files
chore: update other workflows
1 parent 52879cc commit d5cd111

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ jobs:
155155
name: corebridge-native-debug-${{ matrix.platform }}
156156
path: ./packages/core-bridge/releases
157157

158+
- name: Install pnpm
159+
uses: pnpm/action-setup@v4
160+
with:
161+
version: 10
162+
run_install: false
163+
158164
- name: Install Node
159165
uses: actions/setup-node@v4
160166
with:
@@ -191,7 +197,7 @@ jobs:
191197
pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
192198
193199
- name: Compile code
194-
run: pnpm run build -- --ignore @temporalio/core-bridge
200+
run: pnpm run build --ignore @temporalio/core-bridge
195201

196202
- name: Publish to Verdaccio
197203
run: node scripts/publish-to-verdaccio.js --registry-dir ${{ steps.tmp-dir.outputs.dir }}/npm-registry

.github/workflows/conventions.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
with:
1717
submodules: recursive
1818

19+
- name: Install pnpm
20+
uses: pnpm/action-setup@v4
21+
with:
22+
version: 10
23+
run_install: false
24+
1925
- name: Install Node
2026
uses: actions/setup-node@v4
2127
with:
@@ -61,7 +67,7 @@ jobs:
6167
6268
# eslint-import-resolver-typescript requires packages to be built
6369
- name: Compile all non-rust code
64-
run: pnpm run build -- --ignore @temporalio/core-bridge
70+
run: pnpm run build --ignore @temporalio/core-bridge
6571

6672
- run: pnpm run lint.check
6773
- run: pnpm run lint.prune

.github/workflows/release.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@ jobs:
165165
mv tmp/corebridge-*/* ./
166166
rm -rf tmp
167167
168+
- name: Install pnpm
169+
uses: pnpm/action-setup@v4
170+
with:
171+
version: 10
172+
run_install: false
173+
168174
- name: Install Node
169175
uses: actions/setup-node@v4
170176
with:
@@ -189,7 +195,7 @@ jobs:
189195
pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
190196
191197
- name: Compile code
192-
run: pnpm run build -- --ignore @temporalio/core-bridge
198+
run: pnpm run build --ignore @temporalio/core-bridge
193199

194200
- name: Publish to Verdaccio
195201
run: node scripts/publish-to-verdaccio.js --registry-dir ./tmp/registry
@@ -206,7 +212,7 @@ jobs:
206212
if: ${{ env.IS_MAIN_OR_RELEASE == 'true' }}
207213
with:
208214
path: ${{ steps.pnpm-cache-dir.outputs.dir }}
209-
key: pnpm-main-${{ matrix.platform }}-${{ hashFiles('./package-lock.json') }}
215+
key: pnpm-main-${{ matrix.platform }}-${{ hashFiles('./pnpm-lock.yaml') }}
210216

211217
# Tests that npm init @temporalio results in a working worker and client
212218
test-npm-init:
@@ -255,6 +261,12 @@ jobs:
255261
# We don't need the core submodule here since won't build the project
256262
submodules: false
257263

264+
- name: Install pnpm
265+
uses: pnpm/action-setup@v4
266+
with:
267+
version: 10
268+
run_install: false
269+
258270
- name: Install Node
259271
uses: actions/setup-node@v4
260272
with:

.github/workflows/stress.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ jobs:
5959
submodules: recursive
6060
ref: ${{ inputs.ref }}
6161

62+
- name: Install pnpm
63+
uses: pnpm/action-setup@v4
64+
with:
65+
version: 10
66+
run_install: false
67+
6268
- name: Install Node
6369
uses: actions/setup-node@v4
6470
with:

0 commit comments

Comments
 (0)