Skip to content

Commit 4f37e8f

Browse files
committed
Added renovate
1 parent f997884 commit 4f37e8f

File tree

3 files changed

+46
-17
lines changed

3 files changed

+46
-17
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.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: 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)