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
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user