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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Google App Engine Deploy Pipe: Private NPM Repository

I need to deploy a Node.js application to Google App Engine. The application depends on node modules from a private repository. Therefore I'm creating a .npmrc file in the working directory in a first step. "npm install" and "npm run test" work fine there.

The .npmrc file also needs to be uploaded to google cloud storage, which unfortunately does not seem to be the case.

image: node:12.16.1

name: NPM
printf "//\n" "$NPM_TOKEN" >> .npmrc
npm install
npm run test

name: Deploy
pipe: atlassian/google-app-engine-deploy:0.2.1
PROJECT: "project-x"


I'm always getting the following error from Google:

Step #1: npm ERR! 404 '@xyz/some-module@1.2.3' is not in the npm registry.

And this happens because the .npmrc file is not available in the current cloud storage bucket.

How can I make sure the .npmrc created in step "NPM" will be uploaded, too?

1 answer

Looks like I need to use artifacts. 🙈

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

104 views 1 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you