From 17552730a828405aa8988fe63857b56add8a6a05 Mon Sep 17 00:00:00 2001 From: "dryan-gh-actions[bot]" <254598264+dryan-gh-actions[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 14:33:13 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20Add=20the=20standard=20CI=20?= =?UTF-8?q?workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Calls dryan/reusable-workflows dependabot-ci.yml (install from the lockfile, run build and test scripts if the project has them, advisory audit), the same as the other repos. Once merged, `ci / build` becomes a required status check on main so "require branches to be up to date" actually applies. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 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..42e2a0f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: CI + +on: + pull_request: + push: + branches: [main, master] + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + ci: + uses: dryan/reusable-workflows/.github/workflows/dependabot-ci.yml@v1 From b53d6135cba1c8b7f64b5776523c1ab6c9196693 Mon Sep 17 00:00:00 2001 From: "dryan-gh-actions[bot]" <254598264+dryan-gh-actions[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 14:41:01 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20Let=20npm=20test=20pass=20wh?= =?UTF-8?q?ile=20the=20repo=20has=20no=20test=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bare `vitest` exits 1 with "No test files found" (and would sit in watch mode locally), which fails the new CI's test step. Run once and pass on an empty suite; `test:ui` and `npx vitest` still give watch mode, and `test:run` is unchanged. Co-Authored-By: Claude Sonnet 5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 93583af..d8f3bd6 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ ], "scripts": { "postinstall": "lefthook install || true", - "test": "vitest", + "test": "vitest run --passWithNoTests", "test:ui": "vitest --ui", "test:run": "vitest run", "test:coverage": "vitest run --coverage",