-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4cc23f7
commit 4f89ac3
Showing
1 changed file
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,33 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
test: ${{ fromJson(needs.load-e2e-files.outputs.matrix) }} | ||
|
||
steps: | ||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be | ||
with: | ||
# this might remove tools that are actually needed, | ||
# if set to "true" but frees about 6 GB | ||
tool-cache: false | ||
|
||
# all of these default to true, but feel free to set to | ||
# "false" if necessary for your workflow | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: false | ||
swap-storage: true | ||
|
||
# we found on 26 Sep that using Chrome 129 mysteriously broke ci at setupMetamask step | ||
# with the following error: > Cannot read properties of undefined (reading 'waitForTimeout') | ||
# so we are reverting to Chrome 128 on ci | ||
# https://www.ubuntuupdates.org/package_logs?type=ppas&vals=8 | ||
- name: Set up Chrome 128 | ||
run: | | ||
wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_128.0.6613.137-1_amd64.deb | ||
sudo apt-get install ./google-chrome-stable_128.0.6613.137-1_amd64.deb | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
|
@@ -73,7 +99,7 @@ jobs: | |
uses: cypress-io/github-action@8d3918616d8ac34caa2b49afc8b408b6a872a6f5 # [email protected] | ||
with: | ||
start: yarn start | ||
command: "yarn test:e2e${{ (matrix.test.type == 'cctp' && ':cctp') || (matrix.test.type == 'orbit' && ':orbit') || '' }} --browser chromium" | ||
command: "yarn test:e2e${{ (matrix.test.type == 'cctp' && ':cctp') || (matrix.test.type == 'orbit' && ':orbit') || '' }} --browser chrome" | ||
wait-on: http://127.0.0.1:3000 | ||
wait-on-timeout: 120 | ||
spec: ./packages/arb-token-bridge-ui/tests/e2e/specs/* | ||
|
@@ -118,4 +144,4 @@ jobs: | |
then | ||
gh actions-cache delete build-artifacts-${{ github.run_id }}-${{ github.run_attempt }} --confirm | ||
fi | ||
shell: bash | ||
shell: bash |