Skip to content

Commit 5ef3f42

Browse files
committedMay 6, 2024
Added Renovate Checks
1 parent 1cf7967 commit 5ef3f42

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
 

‎.github/workflows/renovate-checks.yml

+31
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 && npm install)
24+
- 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+
- name: Compare Snapshot In Branch
31+
run: (cd branch && npx tt-cli compare-snapshot)

0 commit comments

Comments
 (0)
Please sign in to comment.