npm install in github tests

This commit is contained in:
Igor Katson 2024-08-12 20:16:41 +01:00
parent 6d2c32fb48
commit 2c71cc1dbb
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -21,6 +21,9 @@ 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:
@ -29,5 +32,8 @@ 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