Skip to content

Commit

Permalink
Updated renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed May 6, 2024
1 parent ee1ee33 commit 5e22453
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/renovate-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9

- 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 5e22453

Please sign in to comment.