add CI checks, dependabot, upgrade zod and vitest

This commit is contained in:
2026-10-01 22:12:02 +02:00
parent e7557f0926
commit 12d1e6a8a8
6 changed files with 248 additions and 435 deletions
+12
View File
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule: { interval: weekly }
open-pull-requests-limit: 10
groups:
react: { patterns: ["react", "react-dom", "@types/react", "@types/react-dom"] }
next: { patterns: ["next", "@next/*", "@serwist/*", "serwist"] }
types: { patterns: ["@types/*"] }
leaflet: { patterns: ["leaflet", "leaflet-*", "react-leaflet*", "@types/leaflet"] }
labels: ["dependencies"]
+19
View File
@@ -0,0 +1,19 @@
name: CI
on:
pull_request:
push:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn check