-
Notifications
You must be signed in to change notification settings - Fork 122
Fix usage of sentry cli in CI #10977
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
base: main
Are you sure you want to change the base?
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh nice ty!
- run: | ||
name: upload-sourcemaps | ||
command: | | ||
cd packages/web | ||
../../node_modules/.bin/sentry-cli --auth-token ${SENTRY_AUTH_TOKEN} releases --org audius --project audius-client files ${CIRCLE_SHA1} upload-sourcemaps --no-rewrite build-production/static/js | ||
npm run sentry-cli -- --auth-token ${SENTRY_AUTH_TOKEN} releases --org audius --project audius-client files ${CIRCLE_SHA1} upload-sourcemaps --no-rewrite build-production/static/js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fyi I think you can also just do npx --no-install sentry-cli
and we don't need the script in package.json
Description
Upload of sourcemaps broken on CI currently
https://app.circleci.com/pipelines/github/AudiusProject/audius-protocol/68085/workflows/8afcb8c3-463e-4963-ab72-e123239a781c/jobs/1000782
pnpm
would be nice here, but this works using npm's script module resolution. Remove redundant install in mobile.How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide repro instructions & any configuration.
For web, was able to test via rerunning job with CI
For mobile, was only able to test locally that the script does find the right binary. Will test again on CI