From 1b7fb91593df6d7a8397d9b3c2ba31784a0f5bbf Mon Sep 17 00:00:00 2001 From: = Date: Thu, 16 Jul 2026 20:38:34 +0200 Subject: [PATCH] Add CI workflow and Dependabot config GitHub Actions runs npm ci + npm test (tsc + node --test) on Node 22 and 24 for pushes to main and all PRs. Dependabot checks npm and github-actions dependencies weekly, grouping dev-dependency bumps. Co-Authored-By: Claude Fable 5 --- .github/dependabot.yml | 13 +++++++++++++ .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..be9972b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: / + schedule: + interval: weekly + groups: + dev-dependencies: + dependency-type: development + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4ab75ae --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + # node --test glob patterns require Node >= 21; 22 and 24 are the active LTS lines + node: [22, 24] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + cache: npm + - run: npm ci + - run: npm test