From 896782d50d664184863ea10f3ea21c531d0ed472 Mon Sep 17 00:00:00 2001 From: Andrew Goldis Date: Thu, 9 Nov 2023 01:09:10 -0800 Subject: [PATCH] chore: use custom mirror --- .github/workflows/currents.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/currents.yml b/.github/workflows/currents.yml index 73ee524..27d3b00 100644 --- a/.github/workflows/currents.yml +++ b/.github/workflows/currents.yml @@ -33,7 +33,9 @@ jobs: - name: Run Cypress on Currents.dev uses: cypress-io/github-action@v4 with: - command: yarn cypress-cloud run --record --parallel --browser chrome --key ${{ secrets.CURRENTS_RECORD_KEY }} --ci-build-id ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt}} + command: | + CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress install --force + yarn currents run --record --parallel --browser chrome --key ${{ secrets.CURRENTS_RECORD_KEY }} --ci-build-id "${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt}}" - name: Cancel the run if workflow is cancelled if: ${{ cancelled() }}