Skip to content

Commit

Permalink
pipeline: use lts node versions and switch to npm ci with audit
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Apr 25, 2019
1 parent 0ba5f05 commit a5cec66
Show file tree
Hide file tree
Showing 3 changed files with 14,733 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/coverage
/node_modules

package-lock.json
npm-debug.log*

yarn.lock
Expand Down
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
---
language: node_js
node_js:
- node
- lts/*
- 12
- 10
- 8
cache:
directories:
- $HOME/.npm
- ~/.npm
before_install:
- npm install -g npm@latest
install:
- npm install
- npm audit || echo 'Make it unblocking awaiting tar/node-gyp fix'
- npm ci
script:
- commitlint-travis
- npx commitlint-travis
- npm run test -- --serial
after_success:
- npm run codecov
Expand Down
Loading

0 comments on commit a5cec66

Please sign in to comment.