mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-21 10:16:32 +00:00
Merge pull request #4237 from balena-io/fix-win
patch: fix missing windows dependency
This commit is contained in:
commit
39b02f2168
6
.github/actions/test/action.yml
vendored
6
.github/actions/test/action.yml
vendored
@ -55,6 +55,12 @@ runs:
|
|||||||
# fi
|
# fi
|
||||||
|
|
||||||
npm ci
|
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 lint
|
||||||
npm run package
|
npm run package
|
||||||
npm run wdio # test stage, note that it requires the package to be done first
|
npm run wdio # test stage, note that it requires the package to be done first
|
||||||
|
3
npm-shrinkwrap.json
generated
3
npm-shrinkwrap.json
generated
@ -88,7 +88,8 @@
|
|||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"bufferutil": "^4.0.8",
|
"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": {
|
"node_modules/@aashutoshrathi/word-wrap": {
|
||||||
|
@ -151,6 +151,7 @@
|
|||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"bufferutil": "^4.0.8",
|
"bufferutil": "^4.0.8",
|
||||||
"utf-8-validate": "^5.0.10"
|
"utf-8-validate": "^5.0.10",
|
||||||
|
"winusb-driver-generator": "2.1.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user