diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index e4af64d0..69d7b5a5 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -57,8 +57,8 @@ runs: npm ci # as the shrinkwrap might have been done on mac/linux, this is ensure the package is there for windows - if [[runner.os == 'Windows']]; then - npm install winusb-driver-generator + if [[ "$RUNNER_OS" == "Windows" ]]; then + npm i -D winusb-driver-generator fi npm run lint