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

chore: switch from yarn to pnpm #1257

Merged
merged 4 commits into from
Dec 20, 2023
Merged

Conversation

jay-es
Copy link
Collaborator

@jay-es jay-es commented Dec 13, 2023

resolve #1249

Copy link

netlify bot commented Dec 13, 2023

Deploy Preview for vitejs-docs-ja ready!

Name Link
🔨 Latest commit a51cf5e
🔍 Latest deploy log https://app.netlify.com/sites/vitejs-docs-ja/deploys/65816654bccac9000824a3b0
😎 Deploy Preview https://deploy-preview-1257--vitejs-docs-ja.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jay-es jay-es changed the title Chore/switch to pnpm chore: switch from yarn to pnpm Dec 13, 2023
Comment on lines 12 to 17
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install deps
run: yarn
run: pnpm install
Copy link
Contributor

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.

Copy link
Collaborator Author

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!

Copy link
Contributor

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. 👍

@jay-es jay-es marked this pull request as ready for review December 19, 2023 09:56
@jay-es jay-es merged commit 2cee0ea into vitejs:main Dec 20, 2023
5 checks passed
@jay-es jay-es deleted the chore/switch-to-pnpm branch December 20, 2023 09:39
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.

TODO: pnpm に切り替え
2 participants