`npm outdated` command fails build

varnav June 13, 2017

Hello!

If I run `npm outdated` informational command inside pipeline it fails build.

I have very simple bitbucket-pipelines.yml:

 

image: node:8-alpine

pipelines:
  default:
    - step:
       caches:
        - node
       script: # Modify the commands below to build your repository.
         - npm install --quiet
         - npm outdated
         - CI="" npm run build # https://github.com/facebookincubator/create-react-app/issues/1150

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events