8000 Switch release workflow runner to macos-latest to satisfy package.json os field by dominion525 · Pull Request #14 · dominion525/familiar · GitHub
[go: up one dir, main page]

Skip to content

Switch release workflow runner to macos-latest to satisfy package.json os field - #14

Merged
dominion525 merged 1 commit into
mainfrom
fix/release-workflow-macos
Jun 22, 2026
Merged

dominion525 merged 1 commit into
mainfrom
fix/release-workflow-macos

Conversation

@dominion525
Copy link
Copy Markdown
Owner

Summary

Change .github/workflows/release.yml runner from ubuntu-latest to macos-latest so that npm ci does not fail with EBADPLATFORM.

mcp/package.json declares "os": ["darwin"]. That is the correct hint to npm consumers (familiar-mcp is macOS only) but it also causes npm ci to refuse to install on Linux runners with EBADPLATFORM. The first run of release.yml for v0.1.1 failed at the Install dependencies step for this reason (failed run).

Alternatives considered and rejected:

  • npm ci --force to skip the OS check — hides real install-time issues.
  • Drop the "os" field from package.json — loses the npm-side warning shown to non-darwin consumers.

ci.yml is unchanged: its mcp and applescript jobs already run on macos-latest, and the static-checks job stays on ubuntu-latest (no npm ci).

After merge, the v0.1.1 tag (already deleted from origin) will be re-created on the merge commit to trigger the workflow again.

…n os field

- npm ci fails on ubuntu-latest with EBADPLATFORM because mcp/package.json declares "os": ["darwin"], which is the correct hint to npm consumers but blocks install on Linux runners
- Switching the release job to macos-latest aligns with the OS the package targets, restoring npm ci / build / publish / mcpb pack
- ci.yml is unchanged: mcp and applescript jobs already run on macos-latest, static-checks stays on ubuntu-latest (no npm ci there)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dominion525
dominion525 merged commit 291f11e into main Jun 22, 2026
3 checks passed
@dominion525
dominion525 deleted the fix/release-workflow-macos branch June 22, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0