Skip to content

Commit

Permalink
build: add webdriver-manager update & ngcc to postinstall
Browse files Browse the repository at this point in the history
This is required so that yarn_install can add all generated & downloaded files to the generated bazel filegroups
  • Loading branch information
gregmagolan authored and filipesilva committed Apr 27, 2020
1 parent be1f0ed commit 4f0cb97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ jobs:
steps:
- custom_attach_workspace
- setup_bazel_rbe
- run: yarn webdriver-update
- run: yarn ngcc
- run: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
- run: yarn bazel:test

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

0 comments on commit 4f0cb97

Please sign in to comment.