Merge pull request #4237 from balena-io/fix-win

patch: fix missing windows dependency
This commit is contained in:
flowzone-app[bot] 2024-05-30 10:16:39 +00:00 committed by GitHub
commit 39b02f2168
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"
}
}