8000 Add Bun example by idleberg · Pull Request #1456 · actions/cache · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Add Bun example #1456

merged 3 commits into from
Oct 8, 2024

Conversation

idleberg
Copy link
Contributor

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (add or update README or docs)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@idleberg idleberg requested a review from a team as a code owner August 29, 2024 21:03
examples.md Outdated
path: |
~\.deno
~\AppData\Local\deno
key: ${{ runner.os }}-deno-${{ hashFiles('**/deps.ts') }}
Copy link
Member

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?

Copy link
Contributor Author

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!

@joshmgross joshmgross enabled auto-merge (squash) October 7, 2024 17:37
Comment on lines +50 to +51
path: |
~/.bun/install/cache

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?

Copy link

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)

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!

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

Successfully merging this pull request may close these issues.

4 participants
0