aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-12-20 02:59:16 +0100
committerVendicated <vendicated@riseup.net>2022-12-20 02:59:16 +0100
commit0743c1215e539765cf4ea90a690ccdbab8a2cb55 (patch)
treea8dfd3ebe750b2b64f65bb1475e45da3b4fb8924 /.github/workflows
parent94ad8e8f61abb3c6256f9caa39878150b326790f (diff)
downloadVencord-0743c1215e539765cf4ea90a690ccdbab8a2cb55.tar.gz
Vencord-0743c1215e539765cf4ea90a690ccdbab8a2cb55.tar.bz2
Vencord-0743c1215e539765cf4ea90a690ccdbab8a2cb55.zip
Add canary test
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/reportBrokenPlugins.yml14
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 }}