Skip to content

Commit 7d17e8b

Browse files
committed
ci: add CI pipeline with test badge in README
1 parent 7832f24 commit 7d17e8b

4 files changed

Lines changed: 25 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
3+
on: push
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: pnpm/action-setup@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: 22
14+
cache: pnpm
15+
- run: pnpm install --frozen-lockfile
16+
- run: pnpm test

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Clean Domain-Driven
22

3+
[![CI](https://github.com/pmartin-dev/clean-domain-driven/actions/workflows/ci.yml/badge.svg)](https://github.com/pmartin-dev/clean-domain-driven/actions/workflows/ci.yml)
4+
35
A production-ready reference implementation of Domain-Driven Design with Clean Architecture and CQRS in TypeScript — using a library lending system as a concrete domain.
46

57
This repository walks through the DDD methodology — from understanding the business domain to implementing it in code — using a library book lending system as a concrete example.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.0",
44
"description": "A practical guide to Domain-Driven Design with Clean Architecture in TypeScript.",
55
"license": "UNLICENSED",
6+
"packageManager": "pnpm@10.33.0",
67
"author": "Pierre Martin",
78
"private": true,
89
"type": "module",

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)