From 59ea4e4b447aa52e5e007cd4ea59d38d6efe8d04 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Mon, 7 Aug 2023 18:56:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/beta-pack.yml | 6 +++--- .github/workflows/{eslint.yml => build-test.yml} | 5 ++++- .github/workflows/release.yml | 6 +++--- 3 files changed, 10 insertions(+), 7 deletions(-) rename .github/workflows/{eslint.yml => build-test.yml} (84%) diff --git a/.github/workflows/beta-pack.yml b/.github/workflows/beta-pack.yml index 88ed5f6e..375a1146 100644 --- a/.github/workflows/beta-pack.yml +++ b/.github/workflows/beta-pack.yml @@ -35,7 +35,7 @@ jobs: npm ci - name: Build src code - run: npm run build:src + run: npm run build - name: Build Package Setup x64 run: npm run pack:win:setup:x64 @@ -127,7 +127,7 @@ jobs: npm ci - name: Build src code - run: npm run build:src + run: npm run build - name: Build Package dmg run: | @@ -187,7 +187,7 @@ jobs: npm ci - name: Build src code - run: npm run build:src + run: npm run build - name: Build Package deb x64 run: npm run pack:linux:deb:x64 diff --git a/.github/workflows/eslint.yml b/.github/workflows/build-test.yml similarity index 84% rename from .github/workflows/eslint.yml rename to .github/workflows/build-test.yml index ec9acfd8..2f3a68a2 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/build-test.yml @@ -1,4 +1,4 @@ -name: Run eslint check +name: Run build test on: pull_request: @@ -23,3 +23,6 @@ jobs: - name: Eslint check run: npm run lint + + - name: Test Build + run: npm run build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 34de789d..c2cff289 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: npm ci - name: Build src code - run: npm run build:src + run: npm run build - name: Release package run: | @@ -84,7 +84,7 @@ jobs: npm ci - name: Build src code - run: npm run build:src + run: npm run build - name: Release package run: | @@ -133,7 +133,7 @@ jobs: npm ci - name: Build src code - run: npm run build:src + run: npm run build - name: Release package run: |