patch: fix missing windows dependency

This commit is contained in:
Edwin Joassart 2024-05-30 11:44:50 +02:00
parent 6d796df017
commit c4d3f8db87
3 changed files with 10 additions and 2 deletions

View File

@ -55,6 +55,12 @@ runs:
# fi
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
fi
npm run lint
npm run package
npm run wdio # test stage, note that it requires the package to be done first

3
npm-shrinkwrap.json generated
View File

@ -88,7 +88,8 @@
},
"optionalDependencies": {
"bufferutil": "^4.0.8",
"utf-8-validate": "^5.0.10"
"utf-8-validate": "^5.0.10",
"winusb-driver-generator": "2.1.2"
}
},
"node_modules/@aashutoshrathi/word-wrap": {

View File

@ -151,6 +151,7 @@
},
"optionalDependencies": {
"bufferutil": "^4.0.8",
"utf-8-validate": "^5.0.10"
"utf-8-validate": "^5.0.10",
"winusb-driver-generator": "2.1.2"
}
}