Fix lint error #4
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: CI 🔄 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies 🛠️ | |
run: npm ci | |
- name: Run lint 🔍 | |
run: npm run lint | |
e2e-tests: | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository 📦 | |
uses: actions/checkout@v4 | |
- name: Run end-to-end tests 🧪 | |
uses: cypress-io/github-action@v6 | |
with: | |
build: npm run build | |
start: npm run start | |
wait-on: 'http://localhost:3000' | |
record: true | |
env: | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |