Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic CI pipeline with unit tests setup #88

Merged
merged 13 commits into from
Mar 12, 2024
Merged

Basic CI pipeline with unit tests setup #88

merged 13 commits into from
Mar 12, 2024

Conversation

186shades
Copy link
Collaborator

@186shades 186shades commented Mar 10, 2024

This PR contains following changes:

  1. cicd yml file with 2 separate ci jobs for client and server.
  2. Client job checks out the package, sets up node env, runs jest unit tests and creates production build on all branch push and merge requests
  3. Server job checks out the package, sets up node env and runs jest unit tests (build not required) on all branch push and merge requests
  4. Added sample jest tests for client and server for testing the ci jobs along with jest config
  5. Configured next with jest using babel
  6. Fixed key prop eslint issue from the main branch
  7. Moved util file (logout-actions) out of pages folder
  8. Fixed pre-render issue of chart with next

@186shades 186shades self-assigned this Mar 10, 2024
@186shades 186shades linked an issue Mar 10, 2024 that may be closed by this pull request
This was linked to issues Mar 10, 2024
@186shades 186shades changed the title added cicd.yml and basic test Basic CI pipeline with unit tests setup Mar 10, 2024
@186shades 186shades requested a review from theantariksha March 10, 2024 20:29
@186shades 186shades mentioned this pull request Mar 11, 2024
@186shades 186shades requested a review from vishaln15 March 11, 2024 07:24
Copy link
Owner

@rohithaug rohithaug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CI pipeline setup looks good to me

@rohithaug rohithaug merged commit 3de1713 into main Mar 12, 2024
4 checks passed
@rohithaug rohithaug deleted the tests-and-ci-setup branch March 12, 2024 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tech Stack Test Passing Tech Stack Test Writing Basic CI pipeline setup Tech Stack Setup
3 participants