Skip to content

Commit 228b463

Browse files
committed
fix deploy script to test first
1 parent e1e7001 commit 228b463

File tree

4 files changed

+204
-13
lines changed

4 files changed

+204
-13
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
- run: make test
1818

1919
deploy:
20-
# needs: test
21-
# if: github.ref == 'refs/heads/master'
20+
needs: test
21+
if: github.ref == 'refs/heads/master'
2222
runs-on: 'ubuntu-latest'
2323
environment: 'gcp - project=sourcemapsio'
2424
steps:

client/package-lock.json

Lines changed: 196 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"dependencies": {
4-
"@sentry/browser": "@sentry/browser@8.0.0-alpha.4",
4+
"@sentry/browser": "^8.0.0-alpha.4",
55
"jest-environment-jsdom-sixteen": "^2.0.0",
66
"prop-types": "^15.5.10",
77
"react": "^15.6.1",

client/src/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ if (process.env.REACT_APP_SENTRY_DSN) {
1313
replaysSessionSampleRate: 1.0,
1414
tracesSampleRate: 1.0,
1515
integrations: [
16-
new Sentry.browserTracingIntegration({
16+
Sentry.browserTracingIntegration({
1717
tracingOrigins: ['sourcemaps.io']
1818
}),
19-
new Sentry.replayIntegration(),
20-
new Sentry.feedbackIntegration({
19+
Sentry.replayIntegration(),
20+
Sentry.feedbackIntegration({
2121
colorScheme: 'light',
2222
isNameRequired: false,
2323
isEmailRequired: false,
2424
showScreenshot: true
2525
}),
26-
new Sentry.feedbackModalIntegration(),
27-
new Sentry.feedbackScreenshotIntegration(),
26+
Sentry.feedbackModalIntegration(),
27+
Sentry.feedbackScreenshotIntegration(),
2828
]
2929
});
3030
}

0 commit comments

Comments
 (0)