From ea83e6109668f75caefdc37044b28155262dca0a Mon Sep 17 00:00:00 2001 From: Yousif Ahmed Date: Mon, 5 Feb 2024 13:07:03 +0000 Subject: [PATCH] update test fixture build script: use yarn and don't install package tarballs --- features/scripts/build-common.sh | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/features/scripts/build-common.sh b/features/scripts/build-common.sh index 021c43b2..0f101bd0 100755 --- a/features/scripts/build-common.sh +++ b/features/scripts/build-common.sh @@ -8,19 +8,20 @@ git clean -xfdf yarn cache clean --all # Install expo requirements -npm install +# npm install +yarn install -# Bump package versions to a high value so only our values will match -npx lerna version 999.999.999 --no-git-tag-version --no-push --no-changelog --yes +# # Bump package versions to a high value so only our values will match +# npx lerna version 999.999.999 --no-git-tag-version --no-push --no-changelog --yes -# Pack the packages and move them to the test fixture -npm pack packages/*/ -mv *.tgz features/fixtures/test-app +# # Pack the packages and move them to the test fixture +# npm pack packages/*/ +# mv *.tgz features/fixtures/test-app cd features/fixtures/test-app -# Install the bugsnag-expo-cli and run setup -npm install bugsnag-expo-cli*.tgz +# # Install the bugsnag-expo-cli and run setup +# npm install bugsnag-expo-cli*.tgz ./run-bugsnag-expo-cli # Set EAS Project ID @@ -30,9 +31,9 @@ sed -i '' "s/EXPO_EAS_PROJECT_ID/$EXPO_EAS_PROJECT_ID/g" app.json ./set-bugsnag-js-overrides $BUGSNAG_JS_BRANCH $BUGSNAG_JS_COMMIT # install the remaining packages, this also re-installs the correct @bugsnag/expo version -npm install *.tgz -npm install -yarn import +# npm install *.tgz +# npm install +# yarn import ./run-bugsnag-expo-cli-install