From 32f59e172e32103caa4d22882addb9744f60995f Mon Sep 17 00:00:00 2001 From: gioboa Date: Thu, 2 Oct 2025 09:21:16 +0200 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20fix=20up=20build=20=F0=9F=90=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/build-devtools.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/build-devtools.ts b/scripts/build-devtools.ts index fcbce55..29ff3f4 100644 --- a/scripts/build-devtools.ts +++ b/scripts/build-devtools.ts @@ -15,6 +15,13 @@ rmSync(DIST_PATH, { recursive: true, force: true }); // Ensure dist directory exists mkdirSync(DIST_PATH, { recursive: true }); +// Build plugin +console.log('Building plugin...'); +execSync('pnpm build', { + cwd: PLUGIN_PATH, + stdio: 'inherit', +}); + // Build devtools ui console.log('Building devtools...'); execSync('pnpm build', { @@ -31,13 +38,6 @@ cpSync(join(UI_PATH, 'lib-types'), join(DIST_PATH, 'ui', 'lib-types'), { recursive: true, }); -// Build plugin -console.log('Building plugin...'); -execSync('pnpm build', { - cwd: PLUGIN_PATH, - stdio: 'inherit', -}); - console.log('Copying plugin files to dist...'); cpSync(join(PLUGIN_PATH, 'dist'), join(DIST_PATH, 'plugin'), { recursive: true, From 5a065c76c00d5a085305c75a3047a5841c3bd5c8 Mon Sep 17 00:00:00 2001 From: gioboa Date: Thu, 2 Oct 2025 09:22:13 +0200 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20fix=20up=20build=20=F0=9F=90=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2d299f..5c7b025 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,8 +9,6 @@ on: jobs: publish: runs-on: ubuntu-latest - - if: github.ref == 'refs/heads/main' steps: - name: Checkout From 47dd452326b43f5d8a82fa3732c38cc5ca4fa23c Mon Sep 17 00:00:00 2001 From: gioboa Date: Thu, 2 Oct 2025 09:22:58 +0200 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20fix=20up=20build=20=F0=9F=90=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c7b025..bb4296d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: - main jobs: - publish: + build-and-publish: runs-on: ubuntu-latest steps: