Skip to content

Commit

Permalink
Merge pull request #29 from currents-dev/custom-mirror
Browse files Browse the repository at this point in the history
chore: use custom mirror
  • Loading branch information
agoldis authored Nov 9, 2023
2 parents 94b4345 + d82821d commit 48971ad
Show file tree
Hide file tree
Showing 4 changed files with 6,696 additions and 1,744 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/currents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,21 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"

# Install Currents
- name: Install dependencies
run: |
yarn install --frozen-lockfile
npm ci
# Run all Cypress tests
- name: Run Cypress on Currents.dev
uses: cypress-io/github-action@v4
uses: cypress-io/github-action@v6
env:
CYPRESS_DOWNLOAD_MIRROR: https://cy-cdn.currents.dev

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: |
npm run currents:custom -- --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() }}
Expand Down
Loading

0 comments on commit 48971ad

Please sign in to comment.