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

Add cache examples, update to latest actions #3

Merged
merged 9 commits into from
Aug 14, 2024
Merged

Add cache examples, update to latest actions #3

merged 9 commits into from
Aug 14, 2024

Conversation

karlhorky
Copy link
Contributor

Closes #2

@karlhorky karlhorky mentioned this pull request Aug 13, 2024
.github/workflows/nvm.yml Outdated Show resolved Hide resolved
Copy link
Owner

@ybiquitous ybiquitous left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@karlhorky Thanks for the pull request!

Overall LGTM, but I've left some reviews. Can you take a look?

.github/workflows/nvm.yml Show resolved Hide resolved
.github/workflows/nvm.yml Outdated Show resolved Hide resolved
.github/workflows/nvm.yml Outdated Show resolved Hide resolved
.github/workflows/nvm.yml Outdated Show resolved Hide resolved
.github/workflows/nvm.yml Show resolved Hide resolved
.github/workflows/nvm.yml Outdated Show resolved Hide resolved
.github/workflows/nvm.yml Show resolved Hide resolved
.github/workflows/nvm.yml Outdated Show resolved Hide resolved
.github/workflows/nvm.yml Outdated Show resolved Hide resolved
.github/workflows/nvm.yml Outdated Show resolved Hide resolved
karlhorky and others added 6 commits August 13, 2024 16:40
Co-authored-by: Masafumi Koba <[email protected]>
Co-authored-by: Masafumi Koba <[email protected]>
From the docs: https://github.com/nvm-sh/nvm#:~:text=In%20place%20of,version%20of%20node

> In place of a version pointer like "14.7" or "16.3" or "12.22.1", you can use the following special default aliases with `nvm install`, `nvm use`, `nvm run`, `nvm exec`, `nvm which`, etc:
> 
>  - `node`: this installs the latest version of [`node`](https://nodejs.org/en/)
@ybiquitous
Copy link
Owner

We have to update .nvmrc to resolve the pnpm error, right?

image

https://github.com/ybiquitous/using-nvm-on-github-action/pull/3/checks#step:11:8

@karlhorky
Copy link
Contributor Author

We have to update .nvmrc to resolve the pnpm error, right?

Maybe, pnpm v8 dropped support for Node.js v14:

I upgraded to v20.16.0 (latest LTS) in this commit:

Since new versions of pnpm@latest will cause this to probably break in future again, I also pinned the pnpm version to v9:

karlhorky added a commit to karlhorky/github-tricks that referenced this pull request Aug 14, 2024
Copy link
Owner

@ybiquitous ybiquitous left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you 😄 👍🏼

@ybiquitous ybiquitous merged commit 44cbb38 into ybiquitous:master Aug 14, 2024
1 check passed
@karlhorky
Copy link
Contributor Author

Glad to help :) Thanks for the guidance, review and merge!

@karlhorky karlhorky deleted the patch-1 branch August 14, 2024 08:40
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.

Add example with cache?
2 participants