Fix Check & Test by building web panel before cargo checks

This commit is contained in:
copilot-swe-agent[bot] 2026-06-12 23:41:34 +00:00 committed by GitHub
parent 6a387089b8
commit 96fc0c702a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 1 deletions

View File

@ -44,6 +44,17 @@ jobs:
- name: Install musl-tools - name: Install musl-tools
run: sudo apt-get update && sudo apt-get install -y musl-tools run: sudo apt-get update && sudo apt-get install -y musl-tools
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build Web Panel
working-directory: ostp-control
run: |
npm install
npm run build
- name: cargo check - name: cargo check
run: cargo check --workspace run: cargo check --workspace
@ -497,4 +508,3 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}