chore: run build steps before npm test#276
Conversation
Add pretest hook for build-typechain and build so fresh clones can run tests without manual setup. Fixes maple-labs#275
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe test workflow now runs typechain generation and project compilation automatically before ChangesTest workflow
Estimated code review effort: 1 (Trivial) | ~3 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
pretestscript to runbuild-typechainandbuildbefore jestTest plan
dist/andsrc/typechain/, thennpm testregenerated artifacts via pretestSummary by CodeRabbit
npm testnow automatically builds required artifacts before running Jest tests.