Skip to content

Commit

Permalink
Renovate checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed May 6, 2024
1 parent 3557a80 commit 99da02f
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
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)
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@
"@types/lodash": "^4.14.186",
"@types/react": "^18.0.21",
"express": "^4.18.1",
"fast-glob": "^3.2.12",
"lodash": "^4.17.21",
"react": "^18.2.0",
"ts-toolbelt": "^9.6.0",
Expand Down
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 99da02f

Please sign in to comment.