Skip to content

Commit b57f926

Browse files
gregmagolandgp1130
authored andcommitted
build: add webdriver-manager update & ngcc to postinstall
This is required so that yarn_install can add all generated & downloaded files to the generated bazel filegroups
1 parent d19b267 commit b57f926

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.circleci/config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ jobs:
227227
steps:
228228
- custom_attach_workspace
229229
- setup_bazel_rbe
230-
- run: yarn webdriver-update
231-
- run: yarn ngcc
232230
- run: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
233231
- run: yarn bazel:test
234232

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"validate": "node ./bin/devkit-admin validate",
3636
"validate-commits": "./bin/devkit-admin validate-commits",
3737
"preinstall": "node ./tools/yarn/check-yarn.js",
38+
"postinstall": "yarn webdriver-update && yarn ngcc",
3839
"//webdriver-update-README": "ChromeDriver version must match Puppeteer Chromium version, see https://github.com/GoogleChrome/puppeteer/releases http://chromedriver.chromium.org/downloads",
3940
"webdriver-update": "webdriver-manager update --standalone false --gecko false --versions.chrome 79.0.3945.16",
4041
"ngcc": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points"

0 commit comments

Comments
 (0)