gsoft-inc/sg-orbit

๐Ÿš€ Migrate Circle CI to Github Actions

Closed this issue ยท 1 comments

Description

Orbit currently uses CircleCI to build the application on every PR, and run chromatic tests on every PR.

With the current informations, it appears CircleCI brings nothing that Github Actions couldn't do, so we should consider migrating to github actions, to reduce the number of third party involved.

This recommandation comes following this incident https://circleci.com/blog/january-4-2023-security-alert/

at the moment in circle ci we have 2 jobs:

  • ci (install dependencies, lint, run setup cmd, build, and jest)
  • chromatic (install dependencies, run setup cmd, build, and send build to chromatic)

Those jobs are ran:

  • On Pr commits
  • On master push
  • Nightly

I'm not sure why running Nightly is necessary, considering that it runs even if no changes were detected, i think