Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM Dependencies Cache support? #57

Open
ashutoshsaboo opened this issue Apr 11, 2021 · 0 comments
Open

NPM Dependencies Cache support? #57

ashutoshsaboo opened this issue Apr 11, 2021 · 0 comments

Comments

@ashutoshsaboo
Copy link

Hi,
Thanks for creating this plugin, but i'm noticing high build times due to installing npm dependencies again and again. One alternative is to let go of this plugin and add separate cache/install/push steps - similar to those documented here: https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/how-gatsby-works-with-github-pages/ .

However, since this plugin manages almost all of these individual steps easily. Is it possible to make use of github actions cache as well? Somewhat like do npm install only if there was a cache miss - similar to this: https://github.com/actions/cache/blob/main/examples.md#node---npm ?

If this plugin already has this support, do I need to add the cache npm step myself before calling this action in my workflow? Or does the plugin handle this out of the box?

Thanks! :)

@ashutoshsaboo ashutoshsaboo changed the title NPM Cache support? NPM Dependencies Cache support? Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant