Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): output verbose install logs when prebuilding on CI #22361

Merged
merged 4 commits into from May 30, 2023

Conversation

byCedric
Copy link
Member

@byCedric byCedric commented May 3, 2023

Why

This should help figuring out why a certain build failed in CI.

How

  • Added env.CI check besides the existing env.EXPO_DEBUG check

Test Plan

  • CI=true npx expo prebuild should output verbose install logs

Checklist

@byCedric byCedric requested a review from brentvatne May 3, 2023 08:33
@byCedric byCedric requested a review from EvanBacon as a code owner May 3, 2023 08:33
@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label May 3, 2023
@byCedric
Copy link
Member Author

byCedric commented May 3, 2023

@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels May 3, 2023
@byCedric byCedric force-pushed the @bycedric/cli/prebuild-ci-logging branch from 3b7936b to e05b410 Compare May 30, 2023 20:11
@byCedric byCedric merged commit 5417038 into main May 30, 2023
5 checks passed
@byCedric byCedric deleted the @bycedric/cli/prebuild-ci-logging branch May 30, 2023 20:25
byCedric added a commit that referenced this pull request May 30, 2023
This should help figuring out why a certain build failed in CI.

- Added `env.CI` check besides the existing `env.EXPO_DEBUG` check

- `CI=true npx expo prebuild` should output verbose install logs

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
@brentvatne brentvatne added the published Changes from the PR have been published to npm label May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about published Changes from the PR have been published to npm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants