Skip to content

Clean up release workflow#17

Merged
shellicar merged 3 commits intomainfrom
feature/release-workflow-cleanup
Apr 11, 2026
Merged

Clean up release workflow#17
shellicar merged 3 commits intomainfrom
feature/release-workflow-cleanup

Conversation

@shellicar
Copy link
Copy Markdown
Owner

@shellicar shellicar commented Apr 11, 2026

Summary

Scope release workflow CI to the released package only, simplify directory resolution, and add manual dispatch for dry-run testing.

Changes

  • Build, type-check, and test steps use turbo --filter=./packages/<name>... instead of running all packages
  • Lint runs repo-wide via biome ci --diagnostic-level=error
  • Resolve package directory derives path by convention (packages/<tag-prefix>) then verifies the package.json name matches @shellicar/<tag-prefix>
  • workflow_dispatch trigger with tag input for manual dry-run testing
  • Publish passes --dry-run when triggered via dispatch

Co-Authored-By: Claude noreply@anthropic.com

Three changes to npm-publish.yml:

1. Build steps now scope to the released package using turbo filters
   (--filter=./packages/<name>...) instead of running all packages.
   Lint still runs repo-wide via biome ci.

2. Resolve package directory simplified: derives path by convention
   (packages/<tag-prefix>) and verifies the package.json name matches
   @shellicar/<tag-prefix>, rather than scanning all directories.

3. Added workflow_dispatch trigger with a tag input for dry-run testing.
   When dispatched manually, the publish step passes --dry-run so
   nothing is uploaded to npm. Useful for testing the workflow after
   runner or permission changes without creating a real release.
@shellicar shellicar self-assigned this Apr 11, 2026
@shellicar shellicar added the enhancement New feature or request label Apr 11, 2026
@shellicar shellicar added this to the monorepo-migration milestone Apr 11, 2026
The ci script used --changed --since=origin/main, which breaks when a
PR only touches files biome cannot process (YAML, etc.). Biome errors
with "No files were processed." Dropping --changed so it runs on the
full repo, matching the approach used in the release workflow.
@shellicar shellicar force-pushed the feature/release-workflow-cleanup branch from 0651c7c to 8401bd3 Compare April 11, 2026 15:15
@shellicar shellicar merged commit 22b8c97 into main Apr 11, 2026
4 checks passed
@shellicar shellicar deleted the feature/release-workflow-cleanup branch April 11, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant