Skip to content

Commit 3817914

Browse files
authored
feat: enable sentry workflow in pd (#18530)
* feat: enable sentry workflow in pd
1 parent 30f6ea5 commit 3817914

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

.github/workflows/pd-test-build-deploy.yaml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ jobs:
8686
NODE_OPTIONS: '--max-old-space-size=5120'
8787
OT_PD_MIXPANEL_ID: ${{ secrets.OT_PD_MIXPANEL_ID }}
8888
OT_PD_MIXPANEL_DEV_ID: ${{ secrets.OT_PD_MIXPANEL_DEV_ID }}
89-
# ToDo(kk:04/23/2025) need to setup sentry org account and project
90-
# OT_PD_SENTRY_DSN: ${{ secrets.OT_PD_SENTRY_DNS }}
91-
# OT_PD_SENTRY_DEV_DSN: ${{ secrets.OT_PD_SENTRY_DEV_DSN }}
89+
OT_PD_SENTRY_DSN: ${{ secrets.OT_PD_SENTRY_DSN }}
90+
OT_PD_SENTRY_DEV_DSN: ${{ secrets.OT_PD_SENTRY_DEV_DSN }}
9291
run: |
9392
make -C protocol-designer NODE_ENV=development
9493
- name: 'upload github artifact'
@@ -97,22 +96,21 @@ jobs:
9796
name: 'pd-artifact'
9897
path: protocol-designer/dist
9998

100-
# ToDo(kk:04/23/2025) need to setup sentry org account and project
101-
# upload-sourcemaps-pd:
102-
# timeout-minutes: 10
103-
# name: 'upload protocol designer source maps'
104-
# needs: ['build-pd']
105-
# runs-on: 'ubuntu-24.04'
106-
# if: github.event_name != 'pull_request'
99+
upload-sourcemaps-pd:
100+
timeout-minutes: 10
101+
name: 'upload protocol designer source maps'
102+
needs: ['build-pd']
103+
runs-on: 'ubuntu-24.04'
104+
if: github.event_name != 'pull_request'
107105

108-
# uses: getsentry/action-release@v3
109-
# env:
110-
# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
111-
# SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
112-
# SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
113-
# with:
114-
# name: pd-artifact
115-
# sourcemaps: ./dist
106+
uses: getsentry/action-release@v3
107+
env:
108+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
109+
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
110+
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
111+
with:
112+
name: pd-artifact
113+
sourcemaps: ./dist
116114

117115
deploy-pd:
118116
timeout-minutes: 10

0 commit comments

Comments
 (0)