From a27233f8af283760d270d61c9000bc8bf10fd69b Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Sat, 26 Apr 2025 15:42:06 +0200 Subject: [PATCH] ci(renovate): install deps before running tests --- .github/workflows/renovate.yml | 3 --- config.js | 2 +- renovate.json | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index afd3829..641324e 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -28,9 +28,6 @@ jobs: - name: Install Renovate run: bun install -g renovate re2 - - name: Install dependencies - run: bun install - - name: Echo repository run: echo ${{ github.repository }} diff --git a/config.js b/config.js index 1460770..9a95d69 100644 --- a/config.js +++ b/config.js @@ -1,3 +1,3 @@ export default { - allowedCommands: ["bun ./scripts/update-config.ts", "bun run test"], + allowedCommands: ["bun ./scripts/update-config.ts", "bun install && bun run test"], }; diff --git a/renovate.json b/renovate.json index fa83bf3..40ca775 100644 --- a/renovate.json +++ b/renovate.json @@ -49,7 +49,7 @@ "postUpgradeTasks": { "commands": [ "bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}", - "bun run test" + "bun install && bun run test" ], "fileFilters": [ "**/*"