Skip to content

Commit

Permalink
update test fixture build script: use yarn and don't install package …
Browse files Browse the repository at this point in the history
…tarballs
  • Loading branch information
yousif-bugsnag committed Feb 5, 2024
1 parent 1c1e211 commit 6e1af1b
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions features/scripts/build-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 6e1af1b

Please sign in to comment.