An open API service indexing awesome lists of open source software.

https://github.com/stefruseva88/ci-js-app

Testing CI/CD Workflows
https://github.com/stefruseva88/ci-js-app

actions ci-cd nodejs test-automation version-control workflows

Last synced: 4 months ago
JSON representation

Testing CI/CD Workflows

Awesome Lists containing this project

README

          

# CI workflow for Node.js App
### This is a test project for **Back-End Test Automation** March 2024 Course @ SoftUni

[![JavaScript](https://img.shields.io/badge/Made%20with-JavaScript-F7DF1E.svg)](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
[![GitHub Actions](https://img.shields.io/badge/CI-GitHub%20Actions-2088FF.svg)](https://github.com/features/actions)

---
## Overview
This repository contains a Node.js app. The project focuses on building a CI workflow using GitHub Actions to automate testing of a pre-existing Node.js application ("Student Registry").

## Project Goals:

- Implement a CI workflow in GitHub Actions.
- Configure the workflow to run tests on the "Student Registry" application.
- Test the application using multiple Node.js versions.

## Prerequisites:

- Basic understanding of Node.js and testing frameworks.
- Familiarity with GitHub Actions.

## Setup:

- Clone this repository.
- Install dependencies and run the application:

``` sh
npm install
npm start
```

- Review the existing "Student Registry" application code.

## Running Tests:

The CI workflow is already defined in the `.github/workflows` directory. Pushing your code to the main branch will trigger the workflow automatically. The workflow will:

- Set up the environment.
- Install dependencies.
- Run tests for the "Student Registry" application on two different Node.js versions.
## Additional Notes:

- This project serves as a demonstration of CI/CD concepts using a pre-existing application.
- The specific details of the "Student Registry" application are not covered in this repository.

## License
This project is licensed under the [MIT License](LICENSE). See the [LICENSE](LICENSE) file for details.

## Contact
For any questions or suggestions, please open an issue in the repository.

---
## Happy Testing! 🚀