test: Avoid npm install downloading everything
In the presence of a package-lock.json, `npm install` apparently downloads all packages even when giving explicit ones on the CLI. Avoid that by removing package-lock.json before.
This commit is contained in:
parent
25eef42c91
commit
437bc76686
@ -22,6 +22,7 @@ fi
|
|||||||
git clone --depth=1 https://github.com/cockpit-project/bots
|
git clone --depth=1 https://github.com/cockpit-project/bots
|
||||||
|
|
||||||
# only install a subset to save time/space
|
# only install a subset to save time/space
|
||||||
|
rm package.json package-lock.json # otherwise the command below installs *everything*, argh
|
||||||
npm install axe-core chrome-remote-interface sizzle
|
npm install axe-core chrome-remote-interface sizzle
|
||||||
|
|
||||||
export TEST_OS="${ID}-${VERSION_ID/./-}"
|
export TEST_OS="${ID}-${VERSION_ID/./-}"
|
||||||
|
Loading…
Reference in New Issue
Block a user