From 12d3ad334136539c25fd46486e352b12d0deb770 Mon Sep 17 00:00:00 2001 From: dutchie031 Date: Thu, 10 Sep 2026 18:20:23 +0200 Subject: [PATCH] Added test for publish bundle pipeline --- .github/workflows/publish-install-lua-addon.yml | 1 + github-actions/install-lua-addon/src/index.ts | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-install-lua-addon.yml b/.github/workflows/publish-install-lua-addon.yml index d6425f8..ee68078 100644 --- a/.github/workflows/publish-install-lua-addon.yml +++ b/.github/workflows/publish-install-lua-addon.yml @@ -54,6 +54,7 @@ jobs: echo "All checks passed!" publish_action: + needs: test_action uses: ./.github/workflows/_publish-action-release.yml with: action-directory: github-actions/install-lua-addon diff --git a/github-actions/install-lua-addon/src/index.ts b/github-actions/install-lua-addon/src/index.ts index 4fff4f9..2ca523f 100644 --- a/github-actions/install-lua-addon/src/index.ts +++ b/github-actions/install-lua-addon/src/index.ts @@ -27,9 +27,9 @@ async function run() { return; } - // Reference lua-addons relative to the dist directory - // __dirname is dist/, so lua-addons is one level up - const bundledAddonsDir = path.resolve(__dirname, '../lua-addons'); + // Reference lua-addons bundled in dist directory + // __dirname is dist/, lua-addons is bundled alongside + const bundledAddonsDir = path.resolve(__dirname, './lua-addons'); // Verify bundled addons directory exists if (!existsSync(bundledAddonsDir)) {