c2siorg / Codelabz

Codelabz
Apache License 2.0
12 stars 51 forks source link

Fix CI/CD pipeline and ensure successful deployment #138

Open lokeshwar777 opened 4 months ago

lokeshwar777 commented 4 months ago

This PR addresses issues within the CI/CD pipeline to ensure successful deployment. It resolves #137.

Description

This PR addresses several issues within the CI/CD pipeline to ensure successful deployment of the project. The following changes were made:

  1. Corrected the image path in the CodelabCard component (commit 050dc30).
  2. Updated Firebase deployment workflows and configuration for production (commit 965248e).
  3. Removed the obsolete main.yml (commit 0ad62a1).
  4. Resolved build warnings by removing border-radius from input components (commit ff787fb).
  5. Updated vite npm dependency to version 5.2.12 (commit 587c447).
  6. Updated .gitignore to include the /dist directory and exclude package-lock.json (commit cc638fa).
  7. Updated Node.js version to 18 in the functions package.json (commit 2fac50e).

Note: One of the tests failed due to an issue with the editor, not the vite dependency. We need to investigate and address this issue.

Related Issue

Fixes #137

Motivation and Context

The CI/CD pipeline was failing due to several issues, including unresolved imports, build warnings, and outdated configurations. These changes are necessary to ensure that the pipeline completes successfully and the application is deployed without errors.

How Has This Been Tested?

The changes were tested by running the CI/CD pipeline multiple times to ensure that the errors were resolved and the application was deployed successfully. However, one of the tests failed after updating vite from version 4 to version 5. Further investigation is needed to address this issue. The testing environment included:

Types of changes

Checklist: