diff options
author | megumin <megumin.bakaretsurie@gmail.com> | 2022-11-25 22:51:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-25 23:51:36 +0100 |
commit | c4fc01c7ff5717c0f01b7d07638ad3d36396dbd4 (patch) | |
tree | d9af9f1b325107b91957374a9c2ffc9664962d05 | |
parent | 5a942015784887780a38dadb6221b5ee6ac505c9 (diff) | |
download | Vencord-c4fc01c7ff5717c0f01b7d07638ad3d36396dbd4.tar.gz Vencord-c4fc01c7ff5717c0f01b7d07638ad3d36396dbd4.tar.bz2 Vencord-c4fc01c7ff5717c0f01b7d07638ad3d36396dbd4.zip |
[skip ci] feat(ci): test web builds (#262)
-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" |