mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-11-18 07:22:06 +00:00
add CI checks, dependabot, upgrade zod and vitest
This commit is contained in:
@@ -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"]
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user