Skip to content

Commit c21734c

Browse files
alan-agius4pkozlowski-opensource
authored andcommitted
ci: restore the local Yarn copy before executing renovate-update-generated-files (angular#58497)
There is an unidentified issue causing the Yarn binary to be altered, resulting in packages not installing correctly and leading to failures in the process. PR Close angular#58497
1 parent 6819d6a commit c21734c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
"devtools:test": "bazelisk test --//devtools/projects/shell-browser/src:flag_browser=chrome -- //devtools/...",
4545
"docs": "[[ -n $CI ]] && echo 'Cannot run this yarn script on CI' && exit 1 || yarn ibazel run //adev:serve",
4646
"docs:build": "[[ -n $CI ]] && echo 'Cannot run this yarn script on CI' && exit 1 || yarn bazel build //adev:build",
47-
"benchmarks": "tsx --tsconfig=scripts/tsconfig.json scripts/benchmarks/index.mts",
48-
"renovate-update-generated-files": "yarn install --frozen-lockfile --non-interactive && yarn ng-dev misc update-generated-files"
47+
"benchmarks": "tsx --tsconfig=scripts/tsconfig.json scripts/benchmarks/index.mts"
4948
},
5049
"// 1": "dependencies are used locally and by bazel",
5150
"dependencies": {

renovate.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"labels": ["target: patch", "area: build & ci", "action: merge"],
1717
"postUpgradeTasks": {
1818
"commands": [
19-
"yarn renovate-update-generated-files"
19+
"git restore .yarn/releases/yarn-1.22.22.cjs",
20+
"yarn install --frozen-lockfile --non-interactive",
21+
"yarn ng-dev misc update-generated-files"
2022
],
2123
"fileFilters": [".github/actions/deploy-docs-site/**/*", "packages/**/*"],
2224
"executionMode": "branch"

0 commit comments

Comments
 (0)