diff --git a/.github/workflows/check-and-test.yml b/.github/workflows/check-and-test.yml index 8779b45..0e64986 100644 --- a/.github/workflows/check-and-test.yml +++ b/.github/workflows/check-and-test.yml @@ -21,9 +21,19 @@ jobs: steps: - uses: actions/checkout@v3 - name: Check - run: cargo check --verbose --no-default-features --features=${{ matrix.device.name }} + run: | + pushd bin/web + npm install + npm run build + popd + cargo check --verbose --no-default-features --features=${{ matrix.device.name }} - name: Run tests - run: cargo test --verbose --no-default-features --features=${{ matrix.device.name }} + run: | + pushd bin/web + npm install + npm run build + popd + cargo test --verbose --no-default-features --features=${{ matrix.device.name }} windows_serial_check_and_test: runs-on: windows-latest @@ -38,4 +48,4 @@ jobs: shell: bash run: | cd serial - cargo test --verbose --no-default-features --features=${{ matrix.device.name }} \ No newline at end of file + cargo test --verbose --no-default-features --features=${{ matrix.device.name }}