CM-1002: Add automated Linc release pipeline#12
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Add an automated GitHub Actions release pipeline for Linc so releases are prepared from CI after merges to
main, instead of from a local laptop.Resolves: https://linear.app/casemarkai/issue/CM-1002/add-automated-npm-release-pipeline-for-linc
Changes
.github/workflows/release.ymlwith automaticpushhandling formain; non-release pushes prepare a patch release automatically.Releaseworkflow for explicit versions orminor/majorbumps.scripts/release.mjsdo not trigger another release..github/workflows/npm-publish.ymlfor npm Trusted Publishing; this matches the npm package trusted publisher configuration forcasemark/lincandnpm-publish.yml..github/workflows/build-binaries.yml.scripts/release.mjsto require main for local releases, run build/check/test before tagging, and push the prepared release commit explicitly tomain.docs/release.md; link it from the README.Validation
node --check scripts/release.mjs.github/workflows/build-binaries.yml,.github/workflows/npm-publish.yml, and.github/workflows/release.ymlnpm run checknpm testmostly passed, with onetest/footer-data-provider.test.tswatcher timing failure in the full run; focused rerun passed withnpx vitest --run test/footer-data-provider.test.ts.Checklist
CD-123: Fix thing)Reviewer Reminder: You are responsible for the quality of this merge. The agent cannot merge on their own.