feat(tests): update test scripts for backend and frontend, add CI testing workflow
Publish Fast Tabler Docker image / Test before build (push) Failing after 7m0s
Publish Fast Tabler Docker image / Build and push image (push) Has been skipped
Test and Lint / Backend tests (push) Successful in 9m38s
Test and Lint / Frontend lint, test, build (push) Failing after 5m38s

This commit is contained in:
2026-02-12 11:20:36 +07:00
parent 6b8e060d54
commit 2dfb6916dd
12 changed files with 2261 additions and 151 deletions
+18
View File
@@ -7,7 +7,25 @@ on:
- v3
jobs:
test:
name: Test before build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Backend tests
run: npm ci && npm test
working-directory: backend
- name: Frontend lint, typecheck, test, build
run: npm ci && npm run lint && npm run typecheck && npm test && npm run build
working-directory: frontend
build-and-push-fast:
name: Build and push image
needs: test
runs-on: ubuntu-latest
timeout-minutes: 15
steps: