Skip to content

Adapt CI/CD pipeline for publishing#4

Merged
konard merged 2 commits into
mainfrom
claude/adapt-cicd-publish-01J44V2DMtPscSchmkVg14wj
Nov 15, 2025
Merged

Adapt CI/CD pipeline for publishing#4
konard merged 2 commits into
mainfrom
claude/adapt-cicd-publish-01J44V2DMtPscSchmkVg14wj

Conversation

@konard

@konard konard commented Nov 15, 2025

Copy link
Copy Markdown
Member
  • Add npm trusted publishing with provenance support
  • Replace shell script changeset validation with .mjs script
  • Add manual release workflow for manual publishing
  • Add create-manual-changeset.mjs script
  • Add validate-changeset.mjs script
  • Update package.json with new changeset scripts

Based on best practices from lino-env and test-anywhere repos.

Fixes #4

- Add npm trusted publishing with provenance support
- Replace shell script changeset validation with .mjs script
- Add manual release workflow for manual publishing
- Add create-manual-changeset.mjs script
- Add validate-changeset.mjs script
- Update package.json with new changeset scripts

Based on best practices from lino-env and test-anywhere repos.
@konard konard marked this pull request as draft November 15, 2025 13:54
@konard

konard commented Nov 15, 2025

Copy link
Copy Markdown
Member Author

🤖 AI Work Session Started

Starting automated work session at 2025-11-15T13:54:58.823Z

The PR has been converted to draft mode while work is in progress.

This comment marks the beginning of an AI work session. Please wait working session to finish, and provide your feedback.

Add changeset documenting the CI/CD pipeline improvements including npm trusted publishing with provenance support, replacement of shell script validation with .mjs script, and addition of manual release workflow.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@konard konard marked this pull request as ready for review November 15, 2025 13:59
@konard

konard commented Nov 15, 2025

Copy link
Copy Markdown
Member Author

✅ Work Completed Successfully

All CI checks are now passing and the PR is ready for review!

What Was Fixed

The CI was failing due to a missing changeset file. The changeset validation script required exactly one changeset file to exist for each PR.

Solution Implemented

Created a changeset file (.changeset/manual-release-5d3d8c98.md) documenting this PR's changes as a patch release with the description:

Adapt CI/CD pipeline for npm trusted publishing with provenance support. Replace shell script changeset validation with .mjs script. Add manual release workflow and helper scripts for changeset management.

Verification

  • ✅ Changeset validation passes locally
  • ✅ All CI checks passing (changeset check, linting, format check, tests on Node.js/Bun/Deno)
  • ✅ Local checks pass (npm run check)
  • ✅ All original requirements from issue Adapt CI/CD pipeline for publishing #4 implemented
  • ✅ PR marked as ready for review

CI Status

Latest run: https://github.com/link-foundation/lino-arguments/actions/runs/19390827025

  • Check for Changesets: ✅ pass
  • Lint and Format Check: ✅ pass
  • Test on Node.js: ✅ pass
  • Test on Bun: ✅ pass
  • Test on Deno: ✅ pass

The PR is ready to be merged!


🤖 Generated with Claude Code

@konard

konard commented Nov 15, 2025

Copy link
Copy Markdown
Member Author

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Public pricing estimate: $1.877911 USD
  • Calculated by Anthropic: $0.726830 USD
  • Difference: $-1.151081 (-61.30%)
    📎 Log file uploaded as GitHub Gist (226KB)
    🔗 View complete solution draft log

Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard konard merged commit f13f574 into main Nov 15, 2025
6 checks passed
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.

2 participants