Remove redundant yarn postinstall call

Saves around 10 to 20 seconds in the build job.
This commit is contained in:
Liwen Guo 2021-02-23 11:17:17 +01:00 committed by GitHub
parent f8b17d45a8
commit 97a74cc61b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,6 @@ if [[ "$OS_NAME" == "osx" ]]; then
npm_config_argv='{"original":["--ignore-optional"]}' yarn postinstall
else
CHILD_CONCURRENCY=1 yarn --frozen-lockfile
yarn postinstall
fi
mv product.json product.json.bak