Skip to content

Commit 8fa8ff0

Browse files
committed
Attempt to speed up arm64 desktop test
1 parent dff8e2d commit 8fa8ff0

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/build_desktop_test.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,9 @@ jobs:
4141
repository: ${{ github.repository == 'element-hq/element-web-pro' && 'element-hq/element-web' || github.repository }}
4242
persist-credentials: false
4343

44-
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
4544
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
4645
with:
4746
node-version-file: apps/desktop/.node-version
48-
cache: "pnpm"
49-
50-
- name: Install Deps
51-
working-directory: apps/desktop
52-
run: "pnpm install --frozen-lockfile"
5347

5448
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
5549
with:
@@ -87,8 +81,10 @@ jobs:
8781
- name: Run tests
8882
timeout-minutes: 20
8983
shell: bash
84+
working-directory: apps/desktop
9085
run: |
91-
$PREFIX pnpm -C apps/desktop test \
86+
PW_VERSION=$(yq -r '.catalog["@playwright/test"]' ../../pnpm-workspace.yaml)
87+
$PREFIX npx "playwright@$PW_VERSION" test \
9288
${{ runner.os != 'Linux' && '--ignore-snapshots' || '' }} \
9389
${{ inputs.blob_report == false && '--reporter=html' || '' }} \
9490
$ARGS

0 commit comments

Comments
 (0)