Skip to content

fix(ci): dev-lineage specgit-accept installs CLI locally and chokes on bun catalog #434

Description

@LeXwDeX

Why

dev 分支的 `.github/workflows/specgit-accept.yml` 用本地安装:`npm install --no-save --no-audit --no-fund specgit@1.0.1`。npm 会向上解析仓库根 package.json,遇到 Bun workspaces 的 `catalog:` 协议直接报 EUNSUPPORTEDPROTOCOL(2026-08-24 在 PR #424 实测,SpecGit Acceptance 门禁全红)。

修复方向(二选一)

  • 安装步骤隔离出工作区:`working-directory: ${{ runner.temp }}` 或 cd 后安装
  • 对齐 main 系做法:`npm install -g specgit@`(main 版本为 `-g specgit@^0.5.0`,但注意两系 pin 版本不同需统一决策)

证据

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions