Skip to content

Commit fb0ec44

Browse files
committed
Added renovate config
1 parent 92f54ff commit fb0ec44

File tree

4 files changed

+1093
-855
lines changed

4 files changed

+1093
-855
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)

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"author": "Matt Pocock <[email protected]>",
66
"license": "GPL",
77
"devDependencies": {
8-
"@total-typescript/exercise-cli": "^0.5.1",
8+
"@total-typescript/exercise-cli": "^0.6.0",
99
"@types/node": "^20.10.3",
1010
"cross-fetch": "^3.1.5",
1111
"jsdom": "^21.1.1",
1212
"prettier": "^2.8.7",
13-
"typescript": "^5.3.3",
13+
"typescript": "^5.4.5",
1414
"vite-tsconfig-paths": "^4.0.7",
15-
"vitest": "^1.0.2"
15+
"vitest": "^1.6.0"
1616
},
1717
"scripts": {
1818
"exercise": "tt-cli run",

0 commit comments

Comments
 (0)