Skip to content

CI/CD Best Practices

Follow these best practices to keep your Rhyolite project fast, reliable, and easy to maintain:

  • Use caching for dependencies.
  • Run tests and builds in parallel where possible.
  • Automate tests, linting, builds, and deploys.
  • Use semantic versioning and automated changelogs.
  • Store tokens (like NPM_TOKEN) in GitHub Secrets.
  • Never commit secrets to the repo.
  • Require reviews and CI passing before merging.
  • Check the Actions tab for failed jobs.
  • Set up notifications for failed deploys.
  • Keep .github/workflows/ up to date and well-commented.

For more, see Docs Deployment and Automated Publishing.