refactor(tests): update package.json scripts for linting and testing; enhance CI workflows for linting and testing integration
Frontend CI / frontend (push) Successful in 10m38s

This commit is contained in:
2026-03-15 23:29:24 +07:00
parent 164507513c
commit e529aa23ec
46 changed files with 519 additions and 146 deletions
+27
View File
@@ -8,7 +8,34 @@ on:
- v4
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: |
npm ci
cd frontend && npm ci
- name: Lint
run: npm run lint
- name: Test (frontend build)
run: npm run test
build-and-push-fast:
runs-on: ubuntu-latest
needs: lint-and-test
runs-on: ubuntu-latest
timeout-minutes: 15
steps: