Skip to content

Commit

Permalink
Added renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed May 6, 2024
1 parent f997884 commit 4f37e8f
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/main.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/renovate-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Renovate Checks
on:
push:
branches:
- "renovate/**"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Main
uses: actions/checkout@v4
with:
ref: main
path: main

- name: Checkout Branch
uses: actions/checkout@v4
with:
path: branch

- name: Install Dependencies in Main
run: (cd main && pnpm install)
- name: Install Dependencies in Branch
run: (cd branch && pnpm install)
- name: Create Snapshot In Main
run: (cd main && npx tt-cli take-snapshot ./snap.md)
- name: Copy Snapshot To Branch
run: cp main/snap.md branch/snap.md
- name: Compare Snapshot In Branch
run: (cd branch && npx tt-cli compare-snapshot ./snap.md)
15 changes: 15 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"packageRules": [
{
"packagePatterns": ["*"],
"excludePackagePatterns": [
"typescript",
"vitest",
"@total-typescript/exercise-cli"
],
"enabled": false
}
]
}

0 comments on commit 4f37e8f

Please sign in to comment.