diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 001ea6db..97365eac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: - name: build test run: | - cd webui && pnpm vue-tsc --noEmit + cd webui && pnpm test:build version-info: runs-on: ubuntu-latest @@ -116,7 +116,7 @@ jobs: build-webui: runs-on: ubuntu-latest - needs: [ test, version-info ] + needs: [test, webui-test, version-info] if: ${{ needs.version-info.outputs.release == 1 || needs.version-info.outputs.dev == 1 }} steps: - name: Checkout @@ -161,7 +161,7 @@ jobs: build-docker: runs-on: ubuntu-latest - needs: [ build-webui, version-info ] + needs: [build-webui, version-info] steps: - name: Checkout uses: actions/checkout@v4 @@ -264,7 +264,7 @@ jobs: release: runs-on: ubuntu-latest - needs: [ build-docker, version-info ] + needs: [build-docker, version-info] if: ${{ needs.version-info.outputs.release == 1 }} outputs: url: ${{ steps.release.outputs.url }} @@ -297,8 +297,7 @@ jobs: - name: Copy requirements.txt working-directory: ./backend - run: - cp requirements.txt src/requirements.txt + run: cp requirements.txt src/requirements.txt - name: Zip app run: | @@ -330,10 +329,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - telegram: runs-on: ubuntu-latest - needs: [ release ] + needs: [release] steps: - name: send telegram message on push uses: appleboy/telegram-action@master diff --git a/webui/package.json b/webui/package.json index 8fdf87d1..1fbf5d99 100644 --- a/webui/package.json +++ b/webui/package.json @@ -5,7 +5,8 @@ "private": true, "scripts": { "prepare": "cd .. && husky install ./webui/.husky", - "build": "vue-tsc --noEmit && vite build", + "test:build": "vue-tsc --noEmit", + "build": "vite build", "dev": "vite", "format": "prettier --write .", "format:check": "prettier --check .",