Update pnpm install flags in CI workflows
Replaces '--production' with '--prod --shamefully-hoist' in build and release GitHub Actions workflows to improve dependency installation compatibility.
This commit is contained in:
1 parent
31a94106f4
commit
6b780a57de
2 files changed
+4
-4
No files matched your search
@@ -25,7 +25,7 @@ jobs:
|
||||
pnpm run build:framework
|
||||
mv packages/napcat-framework/dist framework-dist
|
||||
cd framework-dist
|
||||
pnpm install --production
|
||||
pnpm install --prod --shamefully-hoist
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
pnpm run build:shell
|
||||
mv packages/napcat-shell/dist shell-dist
|
||||
cd shell-dist
|
||||
pnpm install --production
|
||||
pnpm install --prod --shamefully-hoist
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user