Skip to content

fix(build_publish_npmjs): sync shared lint config before lint#46

Merged
jr200 merged 1 commit into
masterfrom
fix/publish-sync-shared-lint
Apr 22, 2026
Merged

fix(build_publish_npmjs): sync shared lint config before lint#46
jr200 merged 1 commit into
masterfrom
fix/publish-sync-shared-lint

Conversation

@jr200

@jr200 jr200 commented Apr 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • build_publish_npmjs.yaml runs pnpm lint but never syncs .shared/eslint.config.mjs
  • That file is gitignored in consumer repos and is fetched at runtime by ci_npmjs.yaml (Sync shared lint config step)
  • Consequence: every tag-triggered publish currently fails with ERR_MODULE_NOT_FOUND
  • Fix: mirror the sync step into the publish workflow before pnpm lint

Observed failures

Test plan

  • Merge, then re-run the failed release workflows via workflow_dispatch on the tags above
  • Confirm @jr200-labs/xstate-nats@0.7.0 and @jr200-labs/xstate-duckdb@0.4.0 appear on npm

The publish workflow runs pnpm lint, which requires .shared/eslint.config.mjs
(the shared eslint config synced from this repo). ci_npmjs.yaml already does
this but build_publish_npmjs.yaml did not — causing all tag-triggered
publishes to fail with ERR_MODULE_NOT_FOUND.

Mirrors the Sync step from ci_npmjs.yaml.
@jr200 jr200 merged commit 7e19010 into master Apr 22, 2026
2 checks passed
@jr200 jr200 deleted the fix/publish-sync-shared-lint branch April 22, 2026 22:20
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