@@ -300,3 +300,48 @@ jobs:
300300 with :
301301 JOB_NAME : ' Docs site deployment'
302302 SLACK_BOT_TOKEN : ${{ secrets.ANGULAR_ROBOT_SLACK_TOKEN }}
303+
304+ saucelabs :
305+ runs-on : ubuntu-latest
306+ env :
307+ KARMA_PARALLEL_BROWSERS : 2
308+ CI_NODE_INDEX : 0
309+ CI_NODE_TOTAL : 1
310+ CI_RUNNER_NUMBER : ${{ github.run_id }}
311+ steps :
312+ - name : Initialize environment
313+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@2113cd7f66a089ac0208ea84eee672b2529f4f6c
314+ with :
315+ cache-node-modules : true
316+ # Checking out the pull request commit is intended here as we need to run the changed code tests.
317+ ref : ${{ github.event.pull_request.head.sha }}
318+ - name : Install node modules
319+ run : yarn install --frozen-lockfile
320+ - name : Setup Bazel
321+ uses : angular/dev-infra/github-actions/bazel/setup@2113cd7f66a089ac0208ea84eee672b2529f4f6c
322+ - name : Setup Saucelabs Variables
323+ uses : angular/dev-infra/github-actions/saucelabs@4b433074a806bbbd4d319264430740cd46e62f27
324+ - name : Run tests on Saucelabs
325+ run : ./scripts/circleci/run-saucelabs-tests.sh
326+
327+ browserstack :
328+ runs-on : ubuntu-latest
329+ env :
330+ CI_NODE_INDEX : 0
331+ CI_NODE_TOTAL : 1
332+ CI_RUNNER_NUMBER : ${{ github.run_id }}
333+ steps :
334+ - name : Initialize environment
335+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@2113cd7f66a089ac0208ea84eee672b2529f4f6c
336+ with :
337+ cache-node-modules : true
338+ # Checking out the pull request commit is intended here as we need to run the changed code tests.
339+ ref : ${{ github.event.pull_request.head.sha }}
340+ - name : Install node modules
341+ run : yarn install --frozen-lockfile
342+ - name : Setup Bazel
343+ uses : angular/dev-infra/github-actions/bazel/setup@2113cd7f66a089ac0208ea84eee672b2529f4f6c
344+ - name : Setup Saucelabs Variables
345+ uses : angular/dev-infra/github-actions/browserstack@4b433074a806bbbd4d319264430740cd46e62f27
346+ - name : Run tests on Browserstack
347+ run : ./scripts/circleci/run-browserstack-tests.sh
0 commit comments