-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
chore: switch from yarn
to pnpm
#1257
Conversation
✅ Deploy Preview for vitejs-docs-ja ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
.github/workflows/lint.yml
Outdated
- uses: pnpm/action-setup@v2.4.0 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Install deps | ||
run: yarn | ||
run: pnpm install |
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.
Thank you for fixing it.
You could also add cache management to reduce installation time according to the official docs.
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.
@NozomuIkuta
I changed it to the simpler cache settings on the official website.
https://pnpm.io/continuous-integration#github-actions
And Kia-san changed the Netlify settings!
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.
I've never used the cache
option of the GitHub action, and not so sure what will happen.
Anyway, we could change it later if something is wrong.
Let's merge and check if it works. 👍
resolve #1249