aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-03-23 04:37:32 +0100
committerVendicated <vendicated@riseup.net>2023-03-23 04:37:53 +0100
commit1368c25824f3a0ef43457a5473085184a52f1523 (patch)
tree04c76875a465a06fde723a87669b6d9d8ae2e9e4 /.github
parentd0b3678ad60dc758c05fa3f77456eb94024e6876 (diff)
downloadVencord-1368c25824f3a0ef43457a5473085184a52f1523.tar.gz
Vencord-1368c25824f3a0ef43457a5473085184a52f1523.tar.bz2
Vencord-1368c25824f3a0ef43457a5473085184a52f1523.zip
ci: Auto generate plugin json
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml3
-rw-r--r--.github/workflows/reportBrokenPlugins.yml2
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c264821..b7a95cf 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -37,6 +37,9 @@ jobs:
- name: Build
run: pnpm build --standalone
+ - name: Generate plugin list
+ run: pnpm generatePluginJson dist/plugins.json
+
- name: Clean up obsolete files
run: |
rm -rf dist/extension* Vencord.user.css
diff --git a/.github/workflows/reportBrokenPlugins.yml b/.github/workflows/reportBrokenPlugins.yml
index 719eca7..2e927bb 100644
--- a/.github/workflows/reportBrokenPlugins.yml
+++ b/.github/workflows/reportBrokenPlugins.yml
@@ -36,7 +36,7 @@ jobs:
export PATH="$PWD/node_modules/.bin:$PATH"
export CHROMIUM_BIN=$(which chromium-browser)
- esbuild test/generateReport.ts > dist/report.mjs
+ esbuild scripts/generateReport.ts > dist/report.mjs
node dist/report.mjs >> $GITHUB_STEP_SUMMARY
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}