build: reduce logs from npm install
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ environment:
|
|||||||
install:
|
install:
|
||||||
# install nodejs and npm
|
# install nodejs and npm
|
||||||
- ps: Install-Product node $env:nodejs_version
|
- ps: Install-Product node $env:nodejs_version
|
||||||
- npm install -g yarn
|
- npm install -g yarn --quiet
|
||||||
- yarn install --pure-lockfile --no-progress
|
- yarn install --pure-lockfile --no-progress
|
||||||
- npm install -g grunt-cli
|
- npm install -g grunt-cli
|
||||||
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.zip
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ function exit_if_fail {
|
|||||||
cd /home/ubuntu/.go_workspace/src/github.com/grafana/grafana
|
cd /home/ubuntu/.go_workspace/src/github.com/grafana/grafana
|
||||||
|
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
npm install -g yarn
|
npm install -g yarn --quiet
|
||||||
yarn install --pure-lockfile --no-progress
|
yarn install --pure-lockfile --no-progress
|
||||||
|
|
||||||
exit_if_fail npm test
|
exit_if_fail npm test
|
||||||
|
|||||||
Reference in New Issue
Block a user