Skip to content

Commit e9eba9f

Browse files
alan-agius4thePunderWoman
authored andcommitted
ci: clean untracked files before running postUpgradeTasks (angular#61494)
Not sure what changed overnight, but Renovate is now committing .npmrc files that we didn't generate. Example: https://github.com/angular/angular/pull/61492/files We should revisit this once we transition away from Yarn. PR Close angular#61494
1 parent de602b4 commit e9eba9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"baseBranches": ["main", "20.0.x"],
55
"postUpgradeTasks": {
66
"commands": [
7-
"git restore .yarn/releases/yarn-1.22.22.cjs pnpm-lock.yaml .npmrc",
7+
"git clean -f && git restore .yarn/releases/yarn-1.22.22.cjs pnpm-lock.yaml .npmrc",
88
"yarn install --frozen-lockfile --non-interactive",
99
"yarn bazel sync --only=repo || true",
1010
"yarn bazel run //.github/actions/deploy-docs-site:main.update",

0 commit comments

Comments
 (0)