Open
Description
I tried in travis and circleci:
install:
- npm i -g npm@6
- npm ci
# greenkeeper update npm lockfile
before_install:
- npm install -g greenkeeper-lockfile@1
- greenkeeper-lockfile-update
after_success:
- greenkeeper-lockfile-upload
- bash <(curl -s https://codecov.io/bash)
- run:
name: Install greenkeeper-lockfile
command: npm i greenkeeper-lockfile@1
- run:
name: Update lock file
command: ./node_modules/.bin/greenkeeper-lockfile-update
- run:
name: Install dependencies in ci mode
command: npm ci
# Prevent to upload lockfile twice, because travis will upload, too.
# - run:
# name: Upload new lock file
# command: ./node_modules/.bin/greenkeeper-lockfile-upload
But it always complains:
This build should not update the lockfile. It could be a PR, not a branch build.
Metadata
Metadata
Assignees
Labels
No labels