diff options
-rw-r--r-- | .github/workflows/test.yml | 5 | ||||
-rw-r--r-- | package.json | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 59fa3d2..14f3084 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,5 +23,8 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Lint & Test if it compiles + - name: Lint & Test if desktop version compiles run: pnpm test + + - name: Lint & Test if web version compiles + run: pnpm testWeb diff --git a/package.json b/package.json index a168448..13e67b1 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "lint:fix": "pnpm lint --fix", "test": "pnpm lint && pnpm build && pnpm testTsc", + "testWeb": "pnpm lint && pnpm buildWeb && pnpm testTsc", "testTsc": "tsc --noEmit", "uninject": "node scripts/patcher/uninstall.js", "watch": "node scripts/build/build.mjs --watch" |