diff options
| author | Vendicated <vendicated@riseup.net> | 2022-12-20 02:59:16 +0100 |
|---|---|---|
| committer | Vendicated <vendicated@riseup.net> | 2022-12-20 02:59:16 +0100 |
| commit | 0743c1215e539765cf4ea90a690ccdbab8a2cb55 (patch) | |
| tree | a8dfd3ebe750b2b64f65bb1475e45da3b4fb8924 /.github/workflows | |
| parent | 94ad8e8f61abb3c6256f9caa39878150b326790f (diff) | |
| download | Vencord-0743c1215e539765cf4ea90a690ccdbab8a2cb55.tar.gz Vencord-0743c1215e539765cf4ea90a690ccdbab8a2cb55.tar.bz2 Vencord-0743c1215e539765cf4ea90a690ccdbab8a2cb55.zip | |
Add canary test
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/reportBrokenPlugins.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/reportBrokenPlugins.yml b/.github/workflows/reportBrokenPlugins.yml index 8511b42..719eca7 100644 --- a/.github/workflows/reportBrokenPlugins.yml +++ b/.github/workflows/reportBrokenPlugins.yml @@ -41,3 +41,17 @@ jobs: env: DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + + - name: Create Report (Canary) + timeout-minutes: 10 + if: success() || failure() # even run if previous one failed + run: | + export PATH="$PWD/node_modules/.bin:$PATH" + export CHROMIUM_BIN=$(which chromium-browser) + export USE_CANARY=true + + esbuild test/generateReport.ts > dist/report.mjs + node dist/report.mjs >> $GITHUB_STEP_SUMMARY + env: + DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }} + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} |
