Skip to content

feat(website): e2e tests configuration (#1059) #13

feat(website): e2e tests configuration (#1059)

feat(website): e2e tests configuration (#1059) #13

Workflow file for this run

name: Website-e2e
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
cypress-run:
runs-on: ubuntu-22.04
env:
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID: ${{secrets.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID}}
steps:
- uses: actions/checkout@v4
- name: Cypress run
uses: cypress-io/github-action@v6
with:
command: npm run website:e2e:ci
env:
# pass GitHub token to allow accurately detecting a build vs a re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}