temp #1183
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: Linting & e2e tests | |
on: push | |
jobs: | |
lint-and-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# Install npm dependencies, cache them correctly | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
with: | |
# just perform install | |
runTests: false | |
- name: Lint with ESLint | |
run: yarn lint | |
- name: Run e2e tests | |
uses: cypress-io/github-action@v6 | |
with: | |
# we have already installed all dependencies above | |
install: false | |
# run server in the background | |
start: yarn dev |