From 6f87f2cb184897b296516f6b1fc43810c9c0ab96 Mon Sep 17 00:00:00 2001 From: bre97-web Date: Thu, 5 Sep 2024 16:48:45 +0800 Subject: [PATCH] chore: update dev-app build command --- .github/workflows/build-to-gh-pages.yml | 2 +- package.json | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-to-gh-pages.yml b/.github/workflows/build-to-gh-pages.yml index 1d6df5e..54e0927 100644 --- a/.github/workflows/build-to-gh-pages.yml +++ b/.github/workflows/build-to-gh-pages.yml @@ -32,7 +32,7 @@ jobs: run: npm run compile - name: Build test page - run: npm run build -w test + run: npm run build:dev-app - name: Upload production-ready build files uses: actions/upload-artifact@v3 diff --git a/package.json b/package.json index 9748cd4..dbb37fa 100644 --- a/package.json +++ b/package.json @@ -48,8 +48,9 @@ "dev-app" ], "scripts": { - "dev": "wireit", - "compile": "wireit" + "dev:dev-app": "wireit", + "compile": "wireit", + "build:dev-app": "wireit" }, "author": "bre97-web", "license": "MIT", @@ -64,7 +65,7 @@ "wireit": "^0.14.9" }, "wireit": { - "dev": { + "dev:dev-app": { "command": "npm run dev -w dev-app", "files": [ "src/**/*", @@ -80,6 +81,9 @@ "build/**/*" ], "clean": true + }, + "build:dev-app": { + "command": "npm run build -w dev-app" } } }