Skip to content

Fix CI test failure and add GitHub Packages publishing#161

Merged
that-github-user merged 3 commits intomainfrom
fix-ci-and-github-packages
Mar 31, 2026
Merged

Fix CI test failure and add GitHub Packages publishing#161
that-github-user merged 3 commits intomainfrom
fix-ci-and-github-packages

Conversation

@that-github-user
Copy link
Copy Markdown
Owner

Summary

  • Fix exit-127 preflight test that fails on Linux CI (accepts both specific and generic error messages)
  • Add GitHub Packages publish step to release workflow so the package appears on the repo's sidebar

Details

CI fix: The returns warning when command is not found test expected "failed on the current branch" but our exit-127 fix (from the test runner improvements) changed the message to "Test command not found". Test now accepts either message.

GitHub Packages: The repo shows "No packages published" because we only publish to npmjs.org. Added a second publish step that:

  1. Re-configures .npmrc for npm.pkg.github.com
  2. Temporarily scopes the package as @that-github-user/thinktank-ai (required by GitHub Packages)
  3. Publishes with GITHUB_TOKEN auth
  4. Added packages:write permission

Test plan

  • npm test passes locally (250 tests)
  • CI passes on this PR
  • Next v* tag triggers both npm and GitHub Packages publish

🤖 Generated with Claude Code

unknown and others added 3 commits March 30, 2026 19:06
- Fix exit-127 preflight test: accept both "Test command not found" and
  generic failure message (Linux returns 127, Windows may differ)
- Add GitHub Packages publish step to release workflow: publishes as
  @that-github-user/thinktank-ai to npm.pkg.github.com alongside
  the existing npmjs.org publish
- Add packages:write permission to release workflow

Fixes CI failure from #160. Resolves "No packages published" on GitHub.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@that-github-user that-github-user merged commit 8e75c46 into main Mar 31, 2026
4 checks passed
@that-github-user that-github-user deleted the fix-ci-and-github-packages branch April 1, 2026 00:44
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