Skip to content

Commit 82dc1f7

Browse files
committed
Added renovate
1 parent d1739b2 commit 82dc1f7

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

.github/workflows/renovate-checks.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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: Install pnpm
18+
uses: pnpm/action-setup@v3
19+
with:
20+
version: 9
21+
22+
- name: Checkout Branch
23+
uses: actions/checkout@v4
24+
with:
25+
path: branch
26+
27+
- name: Install Dependencies in Main
28+
run: (cd main && pnpm install)
29+
- name: Install Dependencies in Branch
30+
run: (cd branch && pnpm install)
31+
- name: Create Snapshot In Main
32+
run: (cd main && npx tt-cli take-snapshot ./snap.md)
33+
- name: Copy Snapshot To Branch
34+
run: cp main/snap.md branch/snap.md
35+
- name: Compare Snapshot In Branch
36+
run: (cd branch && npx tt-cli compare-snapshot ./snap.md)

renovate.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
"@total-typescript/exercise-cli"
11+
],
12+
"enabled": false
13+
}
14+
]
15+
}

0 commit comments

Comments
 (0)