[skip ci] feat(ci): test web builds (#262)
This commit is contained in:
parent
5a94201578
commit
c4fc01c7ff
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user