From 2c71cc1dbb537c82939910682ae5951ddeba4786 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Mon, 12 Aug 2024 20:16:41 +0100 Subject: [PATCH] npm install in github tests --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 725931f..ecf2b5b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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