Merge pull request #663 from KittyGiraudel/fix/cypress-13.7.1 #1115
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci --legacy-peer-deps | |
- name: Build files | |
run: npm run build | |
- name: Start server | |
run: npm run serve & | |
- name: Run Cypress (Chrome) | |
uses: cypress-io/github-action@v6 | |
with: | |
browser: chrome | |
install: false | |
wait-on: 'http://localhost:5000' | |
- name: Run Cypress (Edge) | |
uses: cypress-io/github-action@v6 | |
with: | |
browser: edge | |
install: false | |
wait-on: 'http://localhost:5000' |