Develop #20
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: Cypress | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
run-cypress: | |
name: Run Cypress | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: ">=18.17.0" | |
check-latest: true | |
- name: Install Npm Dependencies | |
run: yarn install | |
- name: Linting | |
run: yarn lint | |
- name: Build App | |
run: yarn build | |
- name: Run tests with jest | |
run: yarn test:ci | |
- name: Cypress.io | |
uses: cypress-io/[email protected] | |
with: | |
start: yarn e2e:headless | |
wait-on: "http://localhost:3000" |