6464 persist-credentials : false
6565
6666 - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
67- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
67+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
6868 with :
6969 cache : " pnpm"
7070 node-version : " lts/*"
@@ -146,7 +146,7 @@ jobs:
146146 path : apps/web/webapp
147147
148148 - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
149- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
149+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
150150 with :
151151 cache : " pnpm"
152152 cache-dependency-path : pnpm-lock.yaml
@@ -206,6 +206,8 @@ jobs:
206206 needs : prepare_ed
207207 name : " Desktop Windows"
208208 uses : ./.github/workflows/build_desktop_windows.yaml
209+ # Skip Windows builds on PRs, as the Linux amd64 build is enough of a smoke test and includes the screenshot tests
210+ if : github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests')
209211 strategy :
210212 matrix :
211213 arch : [x64, ia32, arm64]
@@ -223,10 +225,13 @@ jobs:
223225 arch : [amd64, arm64]
224226 runAllTests :
225227 - ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests') }}
226- # We ship static sqlcipher builds, so delegate testing the system builds to the merge queue
227228 exclude :
229+ # We ship static sqlcipher builds, so delegate testing the system builds to the merge queue
228230 - runAllTests : false
229231 sqlcipher : system
232+ # Additionally skip arm64 system builds on PRs, as the amd64 test is enough for a smoke test and includes the screenshot tests
233+ - runAllTests : false
234+ arch : arm64
230235 with :
231236 sqlcipher : ${{ matrix.sqlcipher }}
232237 arch : ${{ matrix.arch }}
@@ -236,6 +241,9 @@ jobs:
236241 needs : prepare_ed
237242 name : " Desktop macOS"
238243 uses : ./.github/workflows/build_desktop_macos.yaml
244+ # Skip macOS builds on PRs, as the Linux amd64 build is enough of a smoke test and includes the screenshot tests
245+ # and we have a very low limit of concurrent macos runners (5) across the Github org.
246+ if : github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests')
239247 with :
240248 blob_report : true
241249
@@ -260,7 +268,7 @@ jobs:
260268
261269 - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
262270 if : needs.build_ew.outputs.skip == 'false'
263- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
271+ - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
264272 if : needs.build_ew.outputs.skip == 'false'
265273 with :
266274 cache : " pnpm"
0 commit comments