The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
fix(ci): support manifest changes without lockfile
dotta2c8cb7f519b9
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.ymlindex a45f392ebc..c565ddef3d 100644--- a/.github/workflows/pr.yml+++ b/.github/workflows/pr.yml@@ -109,7 +109,14 @@ jobs:cache: pnpm- name: Install dependencies- run: pnpm install --frozen-lockfile+ run: |+ changed="$(git diff --name-only "${{ github.event.pull_request.base.sha }}" "${{ github.event.pull_request.head.sha }}")"+ manifest_pattern='(^|/)package\.json$|^pnpm-workspace\.yaml$|^\.npmrc$|^pnpmfile\.(cjs|js|mjs)$'+ if printf '%s\n' "$changed" | grep -Eq "$manifest_pattern"; then+ pnpm install --no-frozen-lockfile+ else+ pnpm install --frozen-lockfile+ fi- name: Typecheckrun: pnpm -r typecheck@@ -147,7 +154,14 @@ jobs:cache: pnpm- name: Install dependencies- run: pnpm install --frozen-lockfile+ run: |+ changed="$(git diff --name-only "${{ github.event.pull_request.base.sha }}" "${{ github.event.pull_request.head.sha }}")"+ manifest_pattern='(^|/)package\.json$|^pnpm-workspace\.yaml$|^\.npmrc$|^pnpmfile\.(cjs|js|mjs)$'+ if printf '%s\n' "$changed" | grep -Eq "$manifest_pattern"; then+ pnpm install --no-frozen-lockfile+ else+ pnpm install --frozen-lockfile+ fi- name: Buildrun: pnpm build