1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 16:25:31 -04:00

generate function source maps for sentry releases

This commit is contained in:
2021-06-27 12:28:30 -04:00
parent 23aeb2fab1
commit 5981b99254
4 changed files with 13 additions and 4 deletions

View File

@@ -18,6 +18,9 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: yarn install --frozen-lockfile
# https://docs.sentry.io/platforms/node/typescript/#configuring-typescript-compiler
- run: npx -p typescript tsc --esModuleInterop --sourceMap --sourceRoot '/' --inlineSources api/**/*.ts
- uses: getsentry/action-release@v1
if: github.event.deployment_status.environment == 'production'
env:
@@ -26,6 +29,7 @@ jobs:
SENTRY_PROJECT: jarvis
with:
environment: ${{ github.event.deployment_status.environment }}
sourcemaps: ./api
- uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable