Automation - HelixDesignSystem/helix-react GitHub Wiki

NOTE: documentation below is optimal setup and may not reflect 0.x behavior.

Linting

  • Linting runs automatically during local development.
    • Only output "warning" messages, so devs have a chance to fix errors without eslint killing local process.
  • Linting runs automatically on PR submission/updates
    • Output "error" messages to immediately fail PR validation.

Testing

  • Unit tests run automatically during local development
    • Test suite should be run in full.
    • Do not fail fast
  • Unit tests run automatically on PR submission/updates
    • Fail Fast: The first failed test should immediately fail PR validation.

Deployment

Documentation

Publishing

  • Publish release to NPM on merge to release branch.