feature/lisasiliu/view-student-profile-v2 #270
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: Lint and style checks | |
on: | |
pull_request: | |
branches: | |
main | |
jobs: | |
backend: | |
name: Backend lint and style check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- working-directory: backend | |
run: | | |
npm ci | |
npm run lint-check | |
frontend: | |
name: Frontend lint and style check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- working-directory: frontend | |
run: | | |
npm ci | |
npm run lint-check |