Skip to content

Cypress - Frontend Tests Integration [WIP] #2

Cypress - Frontend Tests Integration [WIP]

Cypress - Frontend Tests Integration [WIP] #2

name: CI Frontend Test
on:
pull_request:
paths: ['frontend/**']
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
containers: [1, 2, 3]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cypress run
uses: cypress-io/github-action@v6
with:
start: npm start
wait-on: 'http://localhost:3000'
record: true
parallel: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}