Run npm install as part of build.rs too
This commit is contained in:
parent
2c71cc1dbb
commit
b2c241c3d8
2 changed files with 29 additions and 21 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
|
@ -21,9 +21,6 @@ jobs:
|
|||
rustup toolchain install ${{ matrix.rust_version }}
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup override set ${{ matrix.rust_version }}
|
||||
- name: npm install (librqbit/webui)
|
||||
working-directory: crates/librqbit/webui
|
||||
run: npm install
|
||||
- name: cargo check
|
||||
run: cargo check
|
||||
test:
|
||||
|
|
@ -32,8 +29,5 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- run: rustup toolchain install stable --profile minimal
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: npm install (librqbit/webui)
|
||||
working-directory: crates/librqbit/webui
|
||||
run: npm install
|
||||
- name: Run tests
|
||||
run: cargo test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue