Skip to content

Conversation

hectoruch
Copy link
Collaborator

No description provided.

Replace unreliable yarn run --help script detection with direct Node.js package.json parsing

- Use Node.js to directly read and validate package.json scripts instead of parsing yarn output
- Improve error messages with detailed script information
- Ensure reliable detection of required test:ci and dist scripts
- Fix workflow failure when scripts exist but aren't detected by yarn run --help

This resolves the "Missing test:ci script in package.json" error that occurred even when
the scripts were properly defined in package.json.
@hectoruch hectoruch merged commit aa755e5 into main Oct 9, 2025
Copy link

github-actions bot commented Oct 9, 2025

❌ Auto-publish Failed

The automatic publication process failed. Please check the workflow logs for details.

🔧 Common Solutions

  • Verify NPM_TOKEN is valid and has publish permissions
  • Check if version already exists
  • Ensure all tests pass locally
  • Verify build process completes successfully

📞 Next Steps

  1. Fix the issue based on the error logs
  2. Create a new PR with the same changes
  3. Or use manual publish workflow if urgent

@hectoruch hectoruch deleted the fix/update-bump-script branch October 10, 2025 04:07
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