fix: delete pnpm-lock.yaml in CI to bypass minimumReleaseAge check
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
CI fails with ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION when lockfile contains recently-published packages. Delete and regenerate in CI.
This commit is contained in:
@@ -13,7 +13,8 @@ steps:
|
||||
commands: |
|
||||
cd $CI_WORKSPACE
|
||||
npm install -g pnpm
|
||||
pnpm install
|
||||
rm -f pnpm-lock.yaml
|
||||
pnpm install --no-frozen-lockfile
|
||||
pnpm build
|
||||
|
||||
# 获取分支名
|
||||
|
||||
Reference in New Issue
Block a user