-
Notifications
You must be signed in to change notification settings - Fork 195
npm ci support #172
Comments
Thanks for opening an issue. We looked into |
Hi - I was wondering if you can elaborate a bit? According to the docs,
So it would seem this can be used for CD as well. Being that npm doesn't need to rebuild the depends graph (as it reads the lockfile) that should speed up the install time. Have your experiences been different? Additionally, Further reading: |
I agree that re-installing all dependencies is undesirable in Netlify, but the benefit of |
The only way Currently, Netlify runs To be able to use Until then (should it ever happen) this hack will suffice: Go into your Build & Deploy Environment Variables and set A better approach for everyone would be this: Get your app setup within a CI/CD pipeline. Github Actions is great and someone has already created a Netlify Deploy action (https://github.com/marketplace/actions/netlify-deploy).
Using Github Actions, you'll have better control over your builds. Oh, you're also gonna want to make sure the deploy step only happens on a specific branch, i.e.: main. Not "master"! You should have already changed that to "main" by now! SHAAAAAME! 🔔 |
I agree with the comments here. Not sure how Edit: Also, @markkasaboski, I think your step 2 should use |
No description provided.
The text was updated successfully, but these errors were encountered: