Skip to content

Make software less expensive by reducing conflicts, bugs and increasing production speed.

Notifications You must be signed in to change notification settings

DavidKHahn/Continuous-Integration-CircleCI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Continuous-Integration

continuous-integration-flow

(Flow chart credit goes to Andrei Neagoie)

CI Guidelines:

  • CI should be implemented at the beginning of a project and then expand to continuous delivery or continous deployment.

  • Code PRs should be run daily, as well as merging to master decreasing exposure to conflicts and bugs.

  • Builds, steps, test steps, linting and other checks can run more successfully leading to code reviews and merging new features.

  • Testers can test software and manually deploy to production for actual usage in the real world or automated without testers as well.

  • Helpful Tools: Tests, Typescript Linting, Circle CI, Travis CI, Jenkins (similar to CircleCI but with flexibility to manage server), Bamboo, Codeship, Prettier.

Prettier:

  • https://prettier.io/docs/en/precommit.html (Precommit Hook setup)
  • Setting precommit hook in package.json helps detects any formatting of code which needs to be "prettified"
  • npm install --save-dev --save-exact prettier or globally npm install --global prettier
  • yarn add pretty-quick husky --dev install pretty-quick package to ensure entire file formatting on your changed/staged files.
  • "pre-commit": "pretty-quick --staged" add this inside package.json under 'scripts'

Useful Links:

About

Make software less expensive by reducing conflicts, bugs and increasing production speed.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published