Skip to content

Commit 6074eb4

Browse files
committed
Added renovate
1 parent a2a98e4 commit 6074eb4

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

.github/workflows/renovate-checks.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Renovate Checks
2+
on:
3+
push:
4+
branches:
5+
- "renovate/**"
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Main
12+
uses: actions/checkout@v4
13+
with:
14+
ref: main
15+
path: main
16+
17+
- name: Checkout Branch
18+
uses: actions/checkout@v4
19+
with:
20+
path: branch
21+
22+
- name: Install Dependencies in Main
23+
run: (cd main && pnpm install)
24+
- name: Install Dependencies in Branch
25+
run: (cd branch && pnpm install)
26+
- name: Create Snapshot In Main
27+
run: (cd main && npx tt-cli take-snapshot ./snap.md)
28+
- name: Copy Snapshot To Branch
29+
run: cp main/snap.md branch/snap.md
30+
- name: Compare Snapshot In Branch
31+
run: (cd branch && npx tt-cli compare-snapshot ./snap.md)

renovate.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:base"],
4+
"packageRules": [
5+
{
6+
"packagePatterns": ["*"],
7+
"excludePackagePatterns": [
8+
"typescript",
9+
"vitest",
10+
"react",
11+
"@types/react",
12+
"@total-typescript/exercise-cli"
13+
],
14+
"enabled": false
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)