Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,379
Community Members
 
Community Events
168
Community Groups

Run npm install post deployment

We have a .NET/Angular 4 project that builds and deploys from BitBucket to our AWS IIs instance.

We don't want to track the node_modules folder and push them to BitBucket or from the Bamboo build instance to the deployment server for obvious reasons. 

What we'd like to do is run "npm install" post deployment on the webserver, and let npm do it's package managing thing, vs. pushing the node_modules folder from BitBucket to the Bamboo build instance to the webserver.

Is this possible?

1 answer

1 vote

Use SSH task to run 'npm install' command as part of your deployment steps

@Alexey ChystoprudovCould you add more information on this. I also need to do the same!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events