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

frontend: Bugsnag setup #2766

Merged
merged 9 commits into from
Aug 21, 2023
Merged

frontend: Bugsnag setup #2766

merged 9 commits into from
Aug 21, 2023

Conversation

jdslaugh
Copy link
Contributor

Description

Sets up bugsnag integration by just allowing a user to specify environment variables and then call the script for uploading.

Example .env.production

REACT_APP_SERVICE_NAME=<app>
REACT_APP_BUGSNAG_API_TOKEN=....
REACT_APP_BASE_URL=https://<app>.net
APPLICATION_ENV=production

Example Script in package.json

"upload-sourcemaps": "yarn workspace @clutch-sh/tools uploadSourcemaps $PWD build/static .env.production --"

Testing Performed

manual

@jdslaugh jdslaugh requested a review from a team as a code owner August 18, 2023 17:47
@jdslaugh jdslaugh merged commit 3719e34 into main Aug 21, 2023
9 checks passed
@jdslaugh jdslaugh deleted the bugsnag-setup branch August 21, 2023 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants