Skip to content

fix: use root-level verify in publish workflow#72

Merged
vreshch merged 1 commit intomasterfrom
bugfix/fix-publish-ci
Mar 20, 2026
Merged

fix: use root-level verify in publish workflow#72
vreshch merged 1 commit intomasterfrom
bugfix/fix-publish-ci

Conversation

@vreshch
Copy link
Contributor

@vreshch vreshch commented Mar 20, 2026

Summary

  • Publish workflow ran npm run verify per-package (working-directory: packages/*), but vitest run uses root vitest.config.ts with include pattern packages/*/src/**/*.test.ts — relative to cwd, not config location
  • When run from packages/platform/, vitest finds no test files and exits with code 1
  • Fix: run npm run verify once from root instead of per-package matrix

Test plan

  • npm run verify passes locally
  • CI green
  • Re-run publish workflow after merge

Per-package `vitest run` fails because the root vitest.config.ts
include pattern is relative to cwd, not config location. Run full
verify from root instead of per-package in the publish pipeline.
@github-actions
Copy link

🔍 Pull Request Validation Results

Step Status
🔍 Type Check ✅ Passed
🎨 Lint ✅ Passed
🎨 Format ✅ Passed
🏗️ Build ✅ Passed
🧪 Tests ✅ Passed
📊 Coverage ✅ Passed

Overall: ✅ All checks passed!

📋 View workflow


⏰ Generated at: 2026-03-20T01:03:42.486Z

@vreshch vreshch merged commit 24ecf4b into master Mar 20, 2026
3 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.

1 participant