-
Notifications
You must be signed in to change notification settings - Fork 529
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: Move from yarn to pnpm #2602
Conversation
@@ -49,7 +49,7 @@ jobs: | |||
run: | | |||
export VERSION=${{ steps.branch_env.outputs.version }} | |||
sudo gem install --no-document fpm | |||
git clone https://github.com/api7/apisix-build-tools.git | |||
git clone https://github.com/FangSen9000/apisix-build-tools.git |
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.
Note that we should let the API7 community merge my changes to the build script before merging this pr.
api7/apisix-build-tools#232
(if I keep it as it is, the original warehouse that has not been changed will only report an error. In order to prove that my changes are effective, I link to my modified build script warehouse.)
On the basis of the latest major modification of young, I changed it to pnpm again. |
Codecov Report
@@ Coverage Diff @@
## master #2602 +/- ##
==========================================
- Coverage 68.50% 65.70% -2.81%
==========================================
Files 134 37 -97
Lines 3553 971 -2582
Branches 867 267 -600
==========================================
- Hits 2434 638 -1796
+ Misses 1119 333 -786
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Please answer these questions before submitting a pull request, or your PR will get closed.
Why submit this pull request?
What changes will this PR take into?
Objective: the purpose of this PR is to introduce advanced and popular pnpm package management tools and use pnpm to download dependency packages faster.
Effect: pnpm will be the next generation package management tool of dashboard. Migrate the package manager from the original yarn to pnpm to reduce dependency installation and compilation time.
Changes: package.json, pnpm-lock.yaml, related GitHub workflow files. The relevant documents have been updated, solutions have been written for possible problems in use, and the workflow is running normally.
The related PR
#2459
Checklist: