Convert to json records format in backend and use generic table compnent. #611
Workflow file for this run
This file contains hidden or 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: Vite/React frontend | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./frontend | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: frontend | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '22.x' | |
- name: Install project | |
run: npm ci --verbose | |
- name: Check formatting | |
run: npm run prettier:check | |
- name: Lint | |
run: npm run lint | |
- name: Build Vitest | |
run: npm run build | |
- name: Run Tests | |
run: npm run test |