DX-856 Fix Validation and Import Order in Account Verification Form #106
Workflow file for this run
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: Tests (End-to-End) | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
cypress: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: yarn install | |
- name: Build the application | |
run: yarn build | |
- name: Start the application | |
run: yarn start & | |
- name: Wait for the application to start | |
run: npx wait-on http://localhost:3000 | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
env: | |
BASIQ_API_KEY: ${{ secrets.BASIQ_API_KEY }} | |
with: | |
wait-on: http://localhost:3000 | |
config-file: cypress.config.js | |
runTests: cypress run --headless --disable-gpu |