From e9ea993fc9e449d7765845ce4a622efaea7f84e1 Mon Sep 17 00:00:00 2001 From: triwinds Date: Sat, 12 Nov 2022 10:56:15 +0800 Subject: [PATCH] update ci --- .github/workflows/ci-build.yaml | 9 +++++++++ .github/workflows/manual-build.yml | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index ae495c7..34f8633 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -3,6 +3,8 @@ name: CI build on new tag on: workflow_dispatch: push: + branches: + - main tags: - '*' @@ -19,6 +21,13 @@ jobs: - uses: actions/setup-python@v2 with: python-version: '3.10' + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: | + cd vue + npm install + npm run build - run: | python -m venv venv venv\Scripts\activate.ps1 diff --git a/.github/workflows/manual-build.yml b/.github/workflows/manual-build.yml index 7525ed0..91876e0 100644 --- a/.github/workflows/manual-build.yml +++ b/.github/workflows/manual-build.yml @@ -16,6 +16,13 @@ jobs: - uses: actions/setup-python@v2 with: python-version: '3.10' + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: | + cd vue + npm install + npm run build - run: | python -m venv venv venv\Scripts\activate.ps1