Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

`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
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Bitbucket Events