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

Adding GitHub actions #26

Closed
wants to merge 5 commits into from
Closed

Adding GitHub actions #26

wants to merge 5 commits into from

Conversation

AhmedFatthy1040
Copy link
Owner

Add CI Pipeline for Backend

Description

This PR introduces a GitHub Actions CI pipeline to automate the building of the backend. The pipeline is triggered on pushes and pull requests to the main branch.

Changes

  • Added a .github/workflows/cl.yml file:
    • Building: Builds the backend (compiles the TypeScript code into JavaScript).

Why

This CI pipeline will:

  • Make the backend build process more consistent and automated.

Checklist

  • Added a GitHub Actions workflow file.
  • Set up build steps for the backend.
  • Ensured the pipeline runs on main branch.

Next Steps

  • Monitor the CI pipeline for successful execution on future pushes and pull requests.

- Added a GitHub Actions workflow to build the backend.
- The pipeline runs on push and pull requests for the main and develop branches.
- It includes steps for installing dependencies, and building the backend.
- Added a GitHub Actions workflow to build the backend.
- The pipeline runs on push and pull requests for the main branch.
- It includes steps for installing dependencies, and building the backend.
- Rename tables: annotation → Annotations, image → Images, category → Categories, user → Users
- Update column names to camelCase (e.g., image_id → imageId, created_at → createdAt)
- Adjust foreign key constraints to follow new naming conventions
- Added @types/pg as a dev dependency to provide TypeScript type definitions for the 'pg' module.
- This resolves the TS7016 error related to the missing declaration file for 'pg'.
- Fixed a typo in the `.github/workflows/ci.yml` file to ensure proper execution of the CI pipeline.
Copy link
Collaborator

@justFadel19 justFadel19 left a comment

Choose a reason for hiding this comment

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

NS

@AhmedFatthy1040 AhmedFatthy1040 deleted the adding-github-actions branch November 26, 2024 22:56
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.

3 participants