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

How to cache "bun global cache" on pipeline? #48

Closed
itsgitz opened this issue Jan 6, 2024 · 2 comments
Closed

How to cache "bun global cache" on pipeline? #48

itsgitz opened this issue Jan 6, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@itsgitz
Copy link

itsgitz commented Jan 6, 2024

Hello!

According to this documentation https://bun.sh/docs/install/cache, Bun stores all downloaded packages from the registry in a global cache at ~/.bun/install/cache. I want to cache the downloaded packages (global cache) like https://github.com/actions/setup-node#caching-global-packages-data to speed up my workflows. Does Bun handle this by default? Or should I create/store the global cache using actions/cache?

@Morzaram
Copy link

I'm not sure but does this thread help?
#14

@xhyrom xhyrom added the duplicate This issue or pull request already exists label Jan 11, 2024
@xhyrom
Copy link
Collaborator

xhyrom commented Jan 11, 2024

This is duplicate of #14. If you want to cache dependencies, you can do it using actions/cache for now.

@xhyrom xhyrom closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants