Skip to content

Commit 392eb39

Browse files
alan-agius4devversion
authored andcommitted
ci: clean untracked files before running postUpgradeTasks
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.
1 parent a24e036 commit 392eb39

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

renovate.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"extends": ["github>angular/dev-infra//renovate-presets/default.json5"],
44

55
"postUpgradeTasks": {
6-
"commands": [
7-
"yarn install --immutable",
8-
"yarn update-generated-files"
9-
],
6+
"commands": ["git clean -f", "yarn install --immutable", "yarn update-generated-files"],
107
"executionMode": "branch"
118
},
129

0 commit comments

Comments
 (0)