Skip to content

Commit

Permalink
feat(build): use npm ci, it's faster then yarn (valor-software#4059)
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin authored Mar 23, 2018
1 parent 951d38e commit 838eee7
Show file tree
Hide file tree
Showing 4 changed files with 18,596 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
/node_modules
/bower_components
yarn.lock
package-lock.json

# IDEs and editors
/.idea
Expand Down
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
save-exact = true
package-lock=false
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sudo: false
language: node_js
node_js: "8"
node_js: "9"

notifications:
email: false
Expand Down Expand Up @@ -41,7 +41,8 @@ before_install:
- rm -rf node_modules/ngx-bootstrap

install:
- npm install > /dev/null
- npm i -g [email protected]
- npm ci > /dev/null
- npm run build > /dev/null
- if [[ "$NGV" == "latest" ]]; then ./scripts/ci/npm-ng-latest.sh; fi
- if [[ "$NGV" == "next" ]]; then ./scripts/ci/npm-ng-next.sh; fi
Expand All @@ -57,10 +58,11 @@ jobs:
include:
# precache npm and apt dependencies
- stage: precache
install: npm install > /dev/null
install:
- npm i -g [email protected]
- npm ci > /dev/null
script: true
addons:
firefox: latest
chrome: stable
apt:
sources:
Expand Down
Loading

0 comments on commit 838eee7

Please sign in to comment.