ultm8soulja/ci-pilot

.npmrc under project root is not picked up

Opened this issue · 0 comments

isair commented

Describe the bug
I have a private package with an .npmrc file at top level. Using semantic-release for main branch releases and ci-pilot for feature branch releases. While semantic-release picks the configuration up and is successfully able to publish, ci-pilot gives a code E404.

To Reproduce
Steps to reproduce the behavior:

  1. Have a private package project.
  2. Check out to a feature branch.
  3. Add an .npmrc file at project root. e.g. //registry.npmjs.org/:_authToken=${NPM_TOKEN}
  4. Set up ci-pilot.
  5. Run ci-pilot publish feature.

Expected behavior
A feature build to be published successfully.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop

  • OS: Linux, CircleCI, image: circleci/node:10.22