Fix eslint issue #377
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: | |
typecheck: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build project | |
run: npm run build | |
- name: Check types | |
run: npx tsc --project packages/app/tsconfig.json --noEmit --skipLibCheck | |
eslint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build project | |
run: npm run build | |
- name: Run ESLint | |
run: npm run lint | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build project | |
run: npm run build | |
- name: Run Jest | |
run: npm run test . |