pnpm & Base Sepolia & token list #363
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
name: Dev CI/CD | |
on: | |
pull_request: | |
types: [opened, reopened, ready_for_review, synchronize] | |
jobs: | |
test-suites: | |
timeout-minutes: 60 | |
if: ${{ !github.event.pull_request.draft }} | |
runs-on: ubuntu-latest | |
container: | |
image: cypress/browsers:node16.5.0-chrome97-ff96 | |
options: --user 1001 | |
strategy: | |
fail-fast: false | |
matrix: | |
browser: [chrome, firefox] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install dependencies with currents Cypress binary | |
run: CYPRESS_DOWNLOAD_MIRROR=https://cy-cdn.currents.dev pnpm install | |
- name: Cypress tests | |
uses: cypress-io/github-action@v6 | |
with: | |
command: pnpm cypress-cloud run --browser ${{ matrix.browser }} --record --parallel --key ${{ secrets.CYPRESS_CONSOLE_RECORD_KEY }} --ci-build-id ui-${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt}} | |
start: pnpm dev | |
wait-on: 'http://localhost:3000' | |
wait-on-timeout: 180 | |
install: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }} |