Update attendance view service for performance improvement (#3465) #3326
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: Frontend CI | |
concurrency: | |
group: frontend-${{ github.head_ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
workflow_dispatch: | |
jobs: | |
lint_frontend: | |
name: Frontend linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3.6.0 | |
with: | |
node-version: '18.x' | |
- name: Linting | |
run: | | |
cd client | |
yarn | |
yarn lint | |
test_frontend: | |
name: Frontend tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3.6.0 | |
with: | |
node-version: '18.x' | |
- name: yarn test | |
run: | | |
cd client | |
yarn | |
yarn test --watchAll=false |