diff --git a/.github/workflows/ng-renovate.yml b/.github/workflows/ng-renovate.yml index 5980009c9..54ccc3552 100644 --- a/.github/workflows/ng-renovate.yml +++ b/.github/workflows/ng-renovate.yml @@ -24,7 +24,11 @@ jobs: - angular/.github runs-on: ubuntu-latest steps: + # Because the checkout and setup node action is contained in the dev-infra repo, we must + # checkout the repo to be able to run the action we have created. Other repos will skip + # this step. - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: ./github-actions/npm/checkout-and-setup-node - run: npm install --global pnpm@9.15.6 shell: bash diff --git a/.nvmrc b/.nvmrc index 726a201e6..b8ffd7075 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.11.1 \ No newline at end of file +22.15.0 diff --git a/renovate.json b/renovate.json index b76239be8..bc6acb897 100644 --- a/renovate.json +++ b/renovate.json @@ -15,7 +15,6 @@ }, "ignorePaths": ["bazel/integration/tests/**"], "ignoreDeps": ["rules_pkg", "@angular-devkit/build-angular"], - "enabledManagers": ["npm", "bazel", "github-actions"], "baseBranches": ["main"], "postUpgradeTasks": { "commands": [ @@ -27,6 +26,15 @@ "executionMode": "update" }, "packageRules": [ + { + "matchDepNames": ["node"], + "matchUpdateTypes": ["minor", "patch"] + }, + { + "enabled": false, + "matchDepNames": ["node"], + "matchUpdateTypes": ["major"] + }, { "matchUpdateTypes": ["minor", "patch"], "groupName": "all non-major dependencies",