mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-09 16:52:00 +01:00
Run npm install in make-npm.sh (#3831)
This commit is contained in:
parent
a33f70cf20
commit
f9655b9179
2 changed files with 5 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -32,10 +32,10 @@ dist/build/uBlock0.npm: tools/make-nodejs.sh $(sources) $(platform) $(assets)
|
|||
npm: dist/build/uBlock0.npm
|
||||
|
||||
lint: npm
|
||||
cd dist/build/uBlock0.npm && npm install && npm run lint
|
||||
cd dist/build/uBlock0.npm && npm run lint
|
||||
|
||||
test: npm
|
||||
cd dist/build/uBlock0.npm && npm install && npm run test
|
||||
cd dist/build/uBlock0.npm && npm run test
|
||||
|
||||
dist/build/uBlock0.dig: tools/make-nodejs.sh $(sources) $(platform) $(assets)
|
||||
tools/make-dig.sh
|
||||
|
|
|
@ -35,6 +35,9 @@ else
|
|||
mv $tarballname ../uBlock0.npm.tgz
|
||||
fi
|
||||
ln -sf "$TMPDIR/node_modules"
|
||||
if [ -z "$GITHUB_ACTIONS" ]; then
|
||||
npm install
|
||||
fi
|
||||
cd -
|
||||
|
||||
echo "*** uBlock0.npm: Package done."
|
||||
|
|
Loading…
Reference in a new issue