From d0d39348699e64bc4360d46a3baf9d51d8280672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 15 Jan 2026 11:15:38 +0800 Subject: [PATCH] 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. --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a138a608..b7a916be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: NAPCAT_VERSION: ${{ env.NAPCAT_VERSION }} run: | npm i -g pnpm - pnpm i + pnpm i --no-frozen-lockfile pnpm run typecheck || exit 1 pnpm test || exit 1 pnpm --filter napcat-webui-frontend run build || exit 1 @@ -78,7 +78,7 @@ jobs: NAPCAT_VERSION: ${{ env.NAPCAT_VERSION }} run: | npm i -g pnpm - pnpm i + pnpm i --no-frozen-lockfile pnpm run typecheck || exit 1 pnpm test || exit 1 pnpm --filter napcat-webui-frontend run build || exit 1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43174270..82a49f01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,7 +59,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | npm i -g pnpm - pnpm i + pnpm i --no-frozen-lockfile pnpm --filter napcat-webui-frontend run build || exit 1 pnpm run build:framework mv packages/napcat-framework/dist framework-dist @@ -88,7 +88,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | npm i -g pnpm - pnpm i + pnpm i --no-frozen-lockfile pnpm --filter napcat-webui-frontend run build || exit 1 pnpm run build:shell mv packages/napcat-shell/dist shell-dist