chore(deps): bump qs and cypress-cloud in /e2e/config-esm-mjs #333
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: e2e-monorepo | |
| on: | |
| push: | |
| jobs: | |
| e2e-monorepo: | |
| if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')" | |
| runs-on: ubuntu-latest | |
| env: | |
| DEBUG: currents:* | |
| services: | |
| director: | |
| image: agoldis/sorry-cypress-director | |
| ports: | |
| - 1234:1234 | |
| strategy: | |
| matrix: | |
| node-version: ["20"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - 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 ci | |
| - name: Build | |
| run: npm run build | |
| - name: Link monorepo packages | |
| run: npm install | |
| - name: Run from a monorepo | |
| working-directory: ./e2e/monorepo | |
| env: | |
| CURRENTS_API_URL: http://localhost:1234 | |
| run: > | |
| npx cypress-cloud run | |
| --record | |
| --parallel | |
| --key some-key | |
| --browser chrome | |
| --tag smoke,linux | |
| -P ./packages/some | |
| --spec "./cypress/e2e/*.spec.js" | |
| --ci-build-id "${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt}}" |