mirror of https://github.com/ospab/ostp.git
Fix Check & Test by building web panel before cargo checks
This commit is contained in:
parent
6a387089b8
commit
96fc0c702a
|
|
@ -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 }}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue