Skip to content

Commit e5ae5b7

Browse files
authored
Merge pull request scratchfoundation#4981 from LLK/greenkeeper/initial
Update dependencies to enable Greenkeeper 🌴
2 parents 7d748ce + 0ec4605 commit e5ae5b7

File tree

3 files changed

+14546
-1
lines changed

3 files changed

+14546
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# NPM
55
/node_modules
66
npm-*
7-
/package-lock.json
87

98
# Testing
109
/.nyc_output

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@ env:
1414
cache:
1515
directories:
1616
- node_modules
17+
before_install:
18+
# package-lock.json was introduced in npm@5
19+
- '[[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest' # skipped when using node 9
20+
- npm install -g greenkeeper-lockfile
1721
install:
1822
- npm --production=false install
1923
- npm --production=false update
24+
before_script: greenkeeper-lockfile-update
2025
script:
2126
- npm test
2227
- if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ] && [ "$TRAVIS_BRANCH" == "master" ]; then npm run test:smoke; fi
28+
after_script: greenkeeper-lockfile-upload
2329
before_deploy:
2430
- >
2531
if [ -z "$BEFORE_DEPLOY_RAN" ]; then

0 commit comments

Comments
 (0)