-
8000
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add Bun example #1456
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
Add Bun example #1456
Conversation
examples.md
Outdated
path: | | ||
~\.deno | ||
~\AppData\Local\deno | ||
key: ${{ runner.os }}-deno-${{ hashFiles('**/deps.ts') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does Bun on Windows not have a lockfile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guilty of copy/paste. Fixed it!
path: | | ||
~/.bun/install/cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not add node_modules
to the list of paths, @idleberg @joshmgross?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PaulRBerg node_modules
with Bun is just hardlinks to the aforementioned ~/.bun/install/cache
like PNPM to use less space on disk.
However Bun is usually faster than the cache system, so I wouldn't recommend using it: oven-sh/setup-bun#14 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha interesting, thanks for your answer!
Description
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: