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

Caching dependencies #36

Open
ConorSheehan1 opened this issue Oct 3, 2022 · 1 comment
Open

Caching dependencies #36

ConorSheehan1 opened this issue Oct 3, 2022 · 1 comment

Comments

@ConorSheehan1
Copy link

It looks like the action downloads node and installs dependencies every time it runs.
Is there a way you could cache node and / or dependencies to save time?
Maybe something from https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows

@jsmrcaga
Copy link
Owner

jsmrcaga commented Oct 4, 2022

Great issue! Thanks for the feedback!

I believe action runners mount your current environment as a volume for docker images, I'm guessing you could install/cache dependencies in your workflow and that would work. Maybe setting the install command to an empty echo would also be needed.

Could you please give that a try and let me know ?

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

2 participants