Skip to content

Commit fd22bd4

Browse files
committed
chore: add dependabot config and automerge
1 parent 0c8db16 commit fd22bd4

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

.github/dependabot.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: '/'
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
labels:
9+
- dependencies
10+
11+
- package-ecosystem: 'github-actions'
12+
directory: '/'
13+
schedule:
14+
interval: daily
15+
open-pull-requests-limit: 10
16+
labels:
17+
- dependencies

.github/workflows/ci.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: ['main']
5+
pull_request:
6+
branches: ['main']
7+
8+
permissions:
9+
contents: read
10+
11+
concurrency:
12+
group: ci
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
timeout-minutes: 10
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
- name: Install pnpm
22+
uses: pnpm/action-setup@v3
23+
with:
24+
version: 8
25+
- name: Use Node.js Active LTS
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: lts/*
29+
cache: 'pnpm'
30+
- name: Install dependencies
31+
run: pnpm i
32+
- name: Build docs
33+
run: pnpm run docs:build
34+
35+
automerge:
36+
needs: build
37+
runs-on: ubuntu-latest
38+
permissions:
39+
pull-requests: write
40+
contents: write
41+
steps:
42+
- uses: fastify/github-action-merge-dependabot@v3
43+
with:
44+
github-token: ${{ secrets.GITHUB_TOKEN }}
45+
target: minor

0 commit comments

Comments
 (0)