diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 59fa3d2f..14f30840 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 a168448a..13e67b1f 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"