From 577708439a7bca058625e87705444b38644ee4d4 Mon Sep 17 00:00:00 2001 From: Jingles Date: Sun, 10 May 2026 16:21:34 +0800 Subject: [PATCH] chore(ci): gate typecheck/test/build; add dependabot PR checks were silently passing because typecheck, test, and build steps were marked continue-on-error, so the gates only reported status, never blocked merges. Drop continue-on-error from those three; keep it on lint until the rule set is cleaned up. Add dependabot config for npm + github-actions, with grouping for @meshsdk/*, next/@next/*, prisma/@prisma/*, @trpc/*, and @types/*. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/dependabot.yml | 40 +++++++++++++++++++++++++++++++++ .github/workflows/pr-checks.yml | 5 ++--- 2 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..689504a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,40 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + open-pull-requests-limit: 5 + groups: + mesh-sdk: + patterns: + - "@meshsdk/*" + next: + patterns: + - "next" + - "next-*" + - "@next/*" + prisma: + patterns: + - "prisma" + - "@prisma/*" + trpc: + patterns: + - "@trpc/*" + types: + patterns: + - "@types/*" + update-types: + - "minor" + - "patch" + labels: + - "dependencies" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + labels: + - "dependencies" + - "ci" diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 9f26063..6f9b268 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -29,20 +29,19 @@ jobs: - name: Generate Prisma client run: npx prisma generate + # Lint stays non-blocking until the rule set is cleaned up; tracked separately. - name: Lint run: npm run lint continue-on-error: true + # Typecheck, test, and build are gates — failures must fail the PR. - name: Type check run: npx tsc --noEmit - continue-on-error: true - name: Test run: npm run test:ci - continue-on-error: true - name: Build run: npm run build env: SKIP_ENV_VALIDATION: 'true' - continue-on-error: true