From c44582affaf193223cf3a65a279ebc476fbb13d4 Mon Sep 17 00:00:00 2001 From: duynndu Date: Tue, 5 May 2026 07:03:24 +0700 Subject: [PATCH] fix: build template-editor release from shell mode --- .github/workflows/node.js.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 67bd3d0..91fdd44 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -43,8 +43,9 @@ jobs: working-directory: ./projects/template-editor run: npm ci - - name: Build all projects - run: npm run build:all:demo + - name: Build template-editor release artifact + if: github.event_name == 'push' && github.ref == 'refs/heads/main' + run: npm run build:template-editor:shell - name: Archive template-editor build if: github.event_name == 'push' && github.ref == 'refs/heads/main' @@ -52,6 +53,9 @@ jobs: cd dist zip -r "${{ steps.release_metadata.outputs.template_editor_zip_name }}" template-editor + - name: Build deploy artifacts + run: npm run build:all:demo + - name: Copy all built files to deploy folder run: | mkdir deploy