Categories page #156
Workflow file for this run
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 # Change this to the name of your backend directory | |
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: dfm-sideline-sidekick-app # Change this to the name of your frontend directory | |
run: | | |
npm ci | |
npm run lint-check |