Skip to content

Commit b0c5daa

Browse files
committed
Updated Renovate CI
1 parent d6cb6be commit b0c5daa

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.github/workflows/renovate-checks.yml

+14-11
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,23 @@ jobs:
1212
uses: actions/checkout@v4
1313
with:
1414
ref: main
15-
path: main
15+
path: repo
1616

17+
- name: Install Dependencies in Main
18+
run: (cd repo && npm install)
19+
- name: Create Snapshot In Main
20+
run: (cd repo && npx tt-cli take-snapshot ./snap.md)
21+
- name: Copy Snapshot To Outer Directory
22+
run: mv repo/snap.md ./snap.md
23+
- name: Delete Main Directory
24+
run: rm -rf repo
1725
- name: Checkout Branch
1826
uses: actions/checkout@v4
1927
with:
20-
path: branch
21-
22-
- name: Install Dependencies in Main
23-
run: (cd main && npm install)
28+
path: repo
2429
- name: Install Dependencies in Branch
25-
run: (cd branch && npm 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+
run: (cd repo && npm install)
31+
- name: Move Snapshot To Branch
32+
run: mv ./snap.md repo/snap.md
3033
- name: Compare Snapshot In Branch
31-
run: (cd branch && npx tt-cli compare-snapshot ./snap.md)
34+
run: (cd repo && npx tt-cli compare-snapshot ./snap.md)

0 commit comments

Comments
 (0)