chore(deps): bump qs and cypress-cloud in /e2e/config-esm-mjs #539
This file contains hidden or 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
| name: Test Benchmark - cypress-cloud | |
| on: | |
| push: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| if: "contains(toJSON(github.event.commits.*.message), '[benchmark]')" | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # run in parallel | |
| containers: [1, 2, 3, 4, 5] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| # populate commit message for merge commits | |
| # see ://currents.dev/readme/ci-setup/github-actions | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| - name: Install alternative cypress binaries | |
| run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev npx cypress@12.17.4 install --force | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build | |
| run: npm run build | |
| - name: Link | |
| working-directory: ./packages/cypress-cloud | |
| run: npm link | |
| - name: Run Cypress with cypress-cloud | |
| working-directory: ./examples/webapp | |
| env: | |
| DEBUG: "currents:*" | |
| FORCE_COLOR: 2 # for chalk tests | |
| COMMIT_INFO_MESSAGE: "[cypress-cloud] ${{ github.event.head_commit.message }}" | |
| run: | | |
| npm link cypress-cloud | |
| npx cypress-cloud run --record --parallel \ | |
| --spec "./cypress/e2e*/*.spec.js" \ | |
| --browser chrome --key ${{ secrets.CURRENTS_RECORD_KEY }} \ --ci-build-id "cloud-${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt}}" --tag cypress-cloud,gha |