[web] fix linting issues #9
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: API CI | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "api/**" | |
pull_request: | |
jobs: | |
api: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./api | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install modules | |
run: yarn | |
- name: Run ESLint | |
run: yarn lint | |
- name: Run unit tests | |
run: yarn test |