Update pnpm install to use --no-frozen-lockfile
Replaces 'pnpm i' with 'pnpm i --no-frozen-lockfile' in build and release GitHub workflows to allow installation even if lockfile changes are detected. This helps prevent CI failures due to lockfile mismatches.
This commit is contained in:
1 parent
583b6db3fd
commit
a7397b41ec
2 files changed
+4
-4
No files matched your search
@@ -36,7 +36,7 @@ jobs:
|
|||||||
NAPCAT_VERSION: ${{ env.NAPCAT_VERSION }}
|
NAPCAT_VERSION: ${{ env.NAPCAT_VERSION }}
|
||||||
run: |
|
run: |
|
||||||
npm i -g pnpm
|
npm i -g pnpm
|
||||||
pnpm i
|
pnpm i --no-frozen-lockfile
|
||||||
pnpm run typecheck || exit 1
|
pnpm run typecheck || exit 1
|
||||||
pnpm test || exit 1
|
pnpm test || exit 1
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
NAPCAT_VERSION: ${{ env.NAPCAT_VERSION }}
|
NAPCAT_VERSION: ${{ env.NAPCAT_VERSION }}
|
||||||
run: |
|
run: |
|
||||||
npm i -g pnpm
|
npm i -g pnpm
|
||||||
pnpm i
|
pnpm i --no-frozen-lockfile
|
||||||
pnpm run typecheck || exit 1
|
pnpm run typecheck || exit 1
|
||||||
pnpm test || exit 1
|
pnpm test || exit 1
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
npm i -g pnpm
|
npm i -g pnpm
|
||||||
pnpm i
|
pnpm i --no-frozen-lockfile
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
pnpm run build:framework
|
pnpm run build:framework
|
||||||
mv packages/napcat-framework/dist framework-dist
|
mv packages/napcat-framework/dist framework-dist
|
||||||
@@ -88,7 +88,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
npm i -g pnpm
|
npm i -g pnpm
|
||||||
pnpm i
|
pnpm i --no-frozen-lockfile
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
pnpm run build:shell
|
pnpm run build:shell
|
||||||
mv packages/napcat-shell/dist shell-dist
|
mv packages/napcat-shell/dist shell-dist
|
||||||
|
|||||||
Reference in new issue
Block a user