Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix: use pnpm exec for vitest in CI filter paths

esengine5a582bea3c14
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e4116df10..a255c9aa2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -110,7 +110,7 @@ jobs:
run: pnpm exec tsc --noEmit -p editor/tsconfig.json
- name: Run SDK tests with coverage
- run: pnpm --filter ./sdk vitest run --coverage --coverage.thresholds.lines=60 --coverage.thresholds.functions=60 --coverage.thresholds.branches=60 --coverage.thresholds.statements=60
+ run: pnpm --filter ./sdk exec vitest run --coverage --coverage.thresholds.lines=60 --coverage.thresholds.functions=60 --coverage.thresholds.branches=60 --coverage.thresholds.statements=60
- name: Run Editor tests with coverage
- run: pnpm --filter @esengine/editor vitest run --coverage --coverage.thresholds.lines=60 --coverage.thresholds.functions=60 --coverage.thresholds.branches=60 --coverage.thresholds.statements=60
+ run: pnpm --filter ./editor exec vitest run --coverage --coverage.thresholds.lines=60 --coverage.thresholds.functions=60 --coverage.thresholds.branches=60 --coverage.thresholds.statements=60