Skip to content

CI Enhancement: Integrate npm run build in Workflows #76

@SudiptaPaul-31

Description

@SudiptaPaul-31

📖 Description

Add npm run build as part of the GitHub Actions workflow to ensure that every pull request is automatically checked for build success. This will help contributors and maintainers quickly identify build failures before merging.

Expected Behavior

  • On every PR, GitHub Actions should run npm run build.
  • If the build fails, the workflow should mark the PR as failing.
  • Contributors and maintainers can immediately see build status in the PR checks.

🛠 Technical Notes

  • Update existing workflow YAML file (e.g., .github/workflows/ci.yml).
  • Add a step to run npm install, npm run lint, and npm run build.
  • Ensure caching is configured for faster builds (e.g., actions/cache for node_modules).
  • Keep workflow compatible with current Node.js version used in the project.

✅ Verification

  • Opening a PR triggers the workflow and runs npm run build.
  • Successful builds show ✅ in PR checks.
  • Failed builds show ❌ in PR checks with error logs.
  • Maintainers can block merging until build passes.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions