mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-29 16:07:43 +00:00
test(frontend): repair the vitest suite and run it in CI
This commit is contained in:
@@ -30,3 +30,16 @@ jobs:
|
||||
NODE_OPTIONS: --max-old-space-size=8192
|
||||
run: cd frontend && npm ci && npm run lint && npm run generate-backend-client &&
|
||||
npm run check
|
||||
|
||||
unit_tests:
|
||||
runs-on: ubicloud-standard-8
|
||||
steps:
|
||||
- uses: actions/checkout@v4.4.0
|
||||
- uses: actions/setup-node@v7.1.0
|
||||
with:
|
||||
node-version: 24
|
||||
cache: "npm"
|
||||
cache-dependency-path: "frontend/package-lock.json"
|
||||
- name: "vitest"
|
||||
timeout-minutes: 10
|
||||
run: cd frontend && npm ci && npm run generate-backend-client && npx vitest run
|
||||
|
||||
Reference in New Issue
Block a user