[skip ci] feat(ci): test web builds (#262)

main
megumin 2 years ago committed by GitHub
parent 5a94201578
commit c4fc01c7ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save