mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-11-04 04:13:54 +08:00
ci(travis): update node version to lts
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
language: node_js
|
||||
node_js: 8
|
||||
node_js: lts/*
|
||||
script:
|
||||
- cd .operations
|
||||
- npm i
|
||||
@ -7,4 +7,4 @@ script:
|
||||
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi)
|
||||
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"
|
||||
- npm run lint
|
||||
- npm run build
|
||||
- npm run build
|
||||
|
||||
Reference in New Issue
Block a user