From 402dd5b48b0f981ed9c4a5a8dbcf3324a30b70fd Mon Sep 17 00:00:00 2001 From: Md Siddiq Date: Fri, 14 Aug 2020 17:42:52 +0530 Subject: [PATCH] Install dependencies before push/publish --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 9255c67e..e6233cc2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -47,10 +47,12 @@ echo "amplify version $(amplify --version)" case $5 in push) + yarn --frozen-lockfile amplify push $9 --yes ;; publish) + yarn --frozen-lockfile amplify publish $9 --yes ;;