A basic Node.js Express server with GitHub Actions workflow for CI/CD and artifact storage.
- Express.js REST API
- Jest testing framework
- GitHub Actions workflow
- Artifact generation and storage
- Clone this repository
- Install dependencies:
npm install - Run the server:
npm start - Run tests:
npm test
The workflow will:
- Run tests on push/pull request to main branch
- Generate test artifacts
- Create a build artifact
- Store both artifacts for 5 days
GET /: Returns a welcome messageGET /api/data: Returns sample data with timestamp