From 1c9e8e3af004f7c6b18c36da444672ead43b17e2 Mon Sep 17 00:00:00 2001 From: s3bc40 Date: Sat, 11 Apr 2026 16:30:31 +0200 Subject: [PATCH 1/4] chore(root): add test and build workspace scripts Co-Authored-By: Claude Sonnet 4.6 --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c727cd5..2cd2e5a 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "scripts": { "lint": "pnpm -r lint", "format": "prettier --write .", - "format:check": "prettier --check ." + "format:check": "prettier --check .", + "test": "pnpm -r test", + "build": "pnpm -r build" }, "devDependencies": { "@eslint/js": "^10.0.1", From 846b40d2d93c50cd43514a102c0726f549640417 Mon Sep 17 00:00:00 2001 From: s3bc40 Date: Sat, 11 Apr 2026 16:30:38 +0200 Subject: [PATCH 2/4] ci: add CI workflow for quality gate on all branches Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ad4d39d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,40 @@ +name: CI + +on: + push: + branches: ['**'] + pull_request: + branches: ['**'] + +jobs: + ci: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20] + + steps: + - uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Check formatting + run: pnpm format:check + + - name: Lint + run: pnpm lint + + - name: Test + run: pnpm test From f3aa3384acb72c89e5e83385834f6a70ca920110 Mon Sep 17 00:00:00 2001 From: s3bc40 Date: Sat, 11 Apr 2026 16:30:42 +0200 Subject: [PATCH 3/4] ci: add deploy-check workflow for main branch build validation Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/deploy-check.yml | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/deploy-check.yml diff --git a/.github/workflows/deploy-check.yml b/.github/workflows/deploy-check.yml new file mode 100644 index 0000000..76eebb8 --- /dev/null +++ b/.github/workflows/deploy-check.yml @@ -0,0 +1,41 @@ +name: Deploy Check + +on: + push: + branches: [main] + +jobs: + deploy-check: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20] + + steps: + - uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Check formatting + run: pnpm format:check + + - name: Lint + run: pnpm lint + + - name: Test + run: pnpm test + + - name: Build + run: pnpm build From 39e9aff8bc7303399a750182b41bb133d305c125 Mon Sep 17 00:00:00 2001 From: s3bc40 Date: Sat, 11 Apr 2026 16:43:23 +0200 Subject: [PATCH 4/4] ci: remove duplicate pull_request job --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad4d39d..b77a91c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,6 @@ name: CI on: push: branches: ['**'] - pull_request: - branches: ['**'] jobs: ci: