diff --git a/.github/renovate-config.js b/.github/renovate-config.js new file mode 100644 index 0000000..2c21053 --- /dev/null +++ b/.github/renovate-config.js @@ -0,0 +1,8 @@ +module.exports = { + allowedCommands: [".*"], + repositories: [ + { + repository: "dotnet/nbgv", + }, + ], +}; diff --git a/.github/renovate.json b/.github/renovate.json index efbd074..ae92307 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -5,11 +5,9 @@ ], "postUpgradeTasks": { "commands": [ + "yarn", "yarn run build" ], - "fileFilters": [ - "dist/index.js" - ], "executionMode": "branch" } } diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 0000000..03608bd --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,19 @@ +name: Self-Hosted Renovate +on: + schedule: + - cron: '0 2 * * *' + workflow_dispatch: + +jobs: + run-renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + - name: Renovate Bot GitHub Action + uses: renovatebot/github-action@v41.0.12 + with: + token: ${{ secrets.RENOVATE_TOKEN }} + configurationFile: .github/renovate-config.js + env: + LOG_LEVEL: DEBUG diff --git a/package.json b/package.json index 4f51bc8..a5ad30c 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@types/jest": "^29.5.12", - "@types/node": "^20.11.6", + "@types/node": "^22.0.0", "@types/semver": "^7.5.8", "@vercel/ncc": "^0.38.1", "jest": "^29.7.0", diff --git a/yarn.lock b/yarn.lock index e40df8d..08e7c5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -768,20 +768,13 @@ expect "^29.0.0" pretty-format "^29.0.0" -"@types/node@*": +"@types/node@*", "@types/node@^22.0.0": version "22.13.1" resolved "https://registry.yarnpkg.com/@types/node/-/node-22.13.1.tgz#a2a3fefbdeb7ba6b89f40371842162fac0934f33" integrity sha512-jK8uzQlrvXqEU91UxiK5J7pKHyzgnI1Qnl0QDHIgVGuolJhRb9EEl28Cj9b3rGR8B2lhFCtvIm5os8lFnO/1Ew== dependencies: undici-types "~6.20.0" -"@types/node@^20.11.6": - version "20.11.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.6.tgz#6adf4241460e28be53836529c033a41985f85b6e" - integrity sha512-+EOokTnksGVgip2PbYbr3xnR7kZigh4LbybAfBAw5BpnQ+FqBYUsvCEjYd70IXKlbohQ64mzEYmMtlWUY8q//Q== - dependencies: - undici-types "~5.26.4" - "@types/semver@^7.5.8": version "7.5.8" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e" @@ -2266,11 +2259,6 @@ typescript@^5.4.5: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== -undici-types@~5.26.4: - version "5.26.5" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" - integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== - undici-types@~6.20.0: version "6.20.0" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433"