From 1368c25824f3a0ef43457a5473085184a52f1523 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Thu, 23 Mar 2023 04:37:32 +0100 Subject: ci: Auto generate plugin json --- .github/workflows/build.yml | 3 +++ .github/workflows/reportBrokenPlugins.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to '.github') 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 }} -- cgit