diff --git a/.circleci/config.yml b/.circleci/config.yml index d41d86c5f28c..41cd0faec3cd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/package.json b/package.json index 734e263bb021..c15b77ec5acf 100644 --- a/package.json +++ b/package.json @@ -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"