ci: run tests on renovate pr

This commit is contained in:
Nicolas Meienberger 2025-04-26 15:39:10 +02:00
parent 232f2ae909
commit df26e4e6df
4 changed files with 8 additions and 4 deletions

View file

@ -28,6 +28,9 @@ jobs:
- name: Install Renovate - name: Install Renovate
run: bun install -g renovate re2 run: bun install -g renovate re2
- name: Install dependencies
run: bun install
- name: Echo repository - name: Echo repository
run: echo ${{ github.repository }} run: echo ${{ github.repository }}

View file

@ -2,9 +2,9 @@ name: Test
on: on:
push: push:
branches: [ main ] branches: [main]
pull_request: pull_request:
branches: [ main ] branches: [main]
jobs: jobs:
test: test:

View file

@ -1,3 +1,3 @@
export default { export default {
allowedCommands: ["bun ./scripts/update-config.ts"], allowedCommands: ["bun ./scripts/update-config.ts", "bun run test"],
}; };

View file

@ -48,7 +48,8 @@
], ],
"postUpgradeTasks": { "postUpgradeTasks": {
"commands": [ "commands": [
"bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}" "bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}",
"bun run test"
], ],
"fileFilters": [ "fileFilters": [
"**/*" "**/*"