Skip to content

Commit c291e70

Browse files
authored
Merge pull request #955 from input-output-hk/feat/apm
feat: Sentry APM
2 parents 90c3fde + 65fedc5 commit c291e70

File tree

7 files changed

+580
-62
lines changed

7 files changed

+580
-62
lines changed

.env.template

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copy this file as .env
2+
# It's used for authentication when uploading source maps.
3+
SENTRY_AUTH_TOKEN=
4+
SENTRY_ORG=
5+
SENTRY_PROJECT=
6+
SENTRY_DSN=

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
echo "export default { PROJECT_ID_MAINNET: '${{ secrets.PROJECT_ID_MAINNET }}', PROJECT_ID_PREVIEW: '${{ secrets.PROJECT_ID_PREVIEW }}', PROJECT_ID_PREPROD: '${{ secrets.PROJECT_ID_PREPROD }}'};" > secrets.production.js
2828
- name: Build
2929
run: npm run build
30+
with:
31+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
32+
SENTRY_DSN: ${{ vars.SENTRY_DSN }}
33+
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
34+
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
3035
- name: Upload build
3136
uses: actions/upload-artifact@v4
3237
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
# misc
1313
.DS_Store
14+
.env
1415
.env.local
1516
.env.development.local
1617
.env.test.local

0 commit comments

Comments
 (0)