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