From d1c3a9c81f73ee696d11c7c600e24b89fdc34d8c Mon Sep 17 00:00:00 2001 From: Mihaly Lengyel Date: Mon, 9 Oct 2023 19:57:15 +0200 Subject: [PATCH] ci: make updateExampleAppDeps support with-localstorage --- test/updateExampleAppDeps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/updateExampleAppDeps.sh b/test/updateExampleAppDeps.sh index 29fc6ff02..be8602111 100755 --- a/test/updateExampleAppDeps.sh +++ b/test/updateExampleAppDeps.sh @@ -2,11 +2,12 @@ cd $1; npm i; +npm install git+https://github.com:supertokens/supertokens-auth-react.git#$GITHUB_SHA; if [ -d "frontend" ]; then pushd frontend; npm i; - npm install git+https://github.com:supertokens/supertokens-auth-react.git#$GITHUB_SHA; + grep supertokens-auth-react package.json && npm install git+https://github.com:supertokens/supertokens-auth-react.git#$GITHUB_SHA; popd; else npm install git+https://github.com:supertokens/supertokens-auth-react.git#$GITHUB_SHA;