Skip to content

Comments

116 Create CI for the Frontend#143

Merged
nourshoreibah merged 2 commits intomainfrom
116-frontend-CI
Feb 19, 2026
Merged

116 Create CI for the Frontend#143
nourshoreibah merged 2 commits intomainfrom
116-frontend-CI

Conversation

@bhuvanh66
Copy link
Contributor

ℹ️ Issue

Closes #116

📝 Description

Sets up the frontend CI pipeline and Jest testing infrastructure. This ensures every PR runs TypeScript checks, linting, builds, and tests automatically before merging.

Briefly list the changes made to the code:

  1. Added Jest config and setup files
  2. Added smoke test to verify Jest is working
  3. Updated test script in package.json to run Jest

✔️ Verification

Run npm run test in apps/frontend — should pass with no errors
Open a PR and confirm frontend-ci appears as a passing required check

@github-actions github-actions bot requested a review from mehanana February 19, 2026 23:23
github-actions bot added a commit that referenced this pull request Feb 19, 2026
Copy link
Collaborator

@nourshoreibah nourshoreibah left a comment

Choose a reason for hiding this comment

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

lgtm! good work adding it to tf too

Copy link
Contributor

@mehanana mehanana left a comment

Choose a reason for hiding this comment

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

looks good!

github-actions bot added a commit that referenced this pull request Feb 19, 2026
@github-actions
Copy link
Contributor

Terraform Plan 📖 infrastructure/github

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Terraform Plan 📖success

Show Plan
data.infisical_secrets.slack_folder: Reading...
data.infisical_secrets.aws_folder: Reading...
data.infisical_secrets.github_folder: Reading...
data.infisical_secrets.cognito_folder: Reading...
data.infisical_secrets.infisical_folder: Reading...
data.infisical_secrets.github_folder: Read complete after 0s
data.infisical_secrets.infisical_folder: Read complete after 0s
data.infisical_secrets.cognito_folder: Read complete after 0s
data.infisical_secrets.aws_folder: Read complete after 0s
github_repository.branch: Refreshing state... [id=branch]
github_branch_default.main: Refreshing state... [id=branch]
github_actions_secret.cognito_user_pool_id: Refreshing state... [id=branch:COGNITO_USER_POOL_ID]
github_actions_secret.infisical_client_secret: Refreshing state... [id=branch:INFISICAL_CLIENT_SECRET]
github_actions_secret.aws_access_key_id: Refreshing state... [id=branch:AWS_ACCESS_KEY_ID]
github_actions_secret.infisical_client_id: Refreshing state... [id=branch:INFISICAL_CLIENT_ID]
github_branch_protection.main: Refreshing state... [id=BPR_kwDOPjZxzc4D-9hQ]
github_actions_secret.cognito_client_id: Refreshing state... [id=branch:COGNITO_CLIENT_ID]
github_branch_protection.bot_state: Refreshing state... [id=BPR_kwDOPjZxzc4EU_R9]
github_actions_secret.aws_secret_access_key: Refreshing state... [id=branch:AWS_SECRET_ACCESS_KEY]
data.infisical_secrets.slack_folder: Read complete after 1s
github_actions_secret.slack_bot_token: Refreshing state... [id=branch:SLACK_BOT_TOKEN]
github_branch.bot_state: Refreshing state... [id=branch:bot-state]
github_repository_file.bot_state_json: Refreshing state... [id=branch:state.json:bot-state]
github_repository_file.bot_config_json: Refreshing state... [id=branch:config.json:bot-state]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # github_branch_protection.main will be updated in-place
  ~ resource "github_branch_protection" "main" {
        id                              = "BPR_kwDOPjZxzc4D-9hQ"
        # (10 unchanged attributes hidden)

      ~ required_status_checks {
          ~ contexts = [
              + "frontend-ci",
                # (2 unchanged elements hidden)
            ]
            # (1 unchanged attribute hidden)
        }

        # (1 unchanged block hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Warning: Argument is deprecated

  with github_repository.branch,
  on main.tf line 6, in resource "github_repository" "branch":
   6:   has_downloads   = true

This attribute is no longer in use, but it hasn't been removed yet. It will
be removed in a future version. See
https://github.com/orgs/community/discussions/102145#discussioncomment-8351756

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "tfplan"

Pushed by: @nourshoreibah, Action: pull_request

@nourshoreibah nourshoreibah merged commit 74ca466 into main Feb 19, 2026
13 checks passed
@nourshoreibah nourshoreibah deleted the 116-frontend-CI branch February 19, 2026 23:53
github-actions bot added a commit that referenced this pull request Feb 19, 2026
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.

Create CI for the Frontend

3 participants