Skip to content

Update: Dependencies #378

Update: Dependencies

Update: Dependencies #378

Workflow file for this run

name: Cypress End-to-End Tests
on:
pull_request:
branches: [main, develop]
workflow_dispatch:
jobs:
cypress:
runs-on: ubuntu-latest
steps:
- name: πŸ›« Checkout
uses: actions/checkout@v3
- name: πŸ— Set up NodeJS 18.14.0
uses: actions/setup-node@v3
with:
node-version: 18.14.0
cache: 'npm'
- name: πŸ’» Run Cypress
uses: cypress-io/github-action@v5
with:
start: npm run dev:e2e
wait-on: http://localhost:9200/
browser: chrome
headed: true
record: true
parallel: true
env:
# For recording and parallelization to work you must set your CYPRESS_RECORD_KEY
# in GitHub repo β†’ Settings β†’ Secrets β†’ Actions
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to detect new build vs re-run build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: βœ… Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
flags: E2E