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

try fixing sentry release sourcemaps for serverless functions

This commit is contained in:
2021-09-08 08:03:16 -04:00
parent f42c5bd3bc
commit b6c325c3b6
6 changed files with 58 additions and 45 deletions

View File

@@ -1,4 +1,4 @@
name: Post-Deploy
name: Release
on:
deployment_status
@@ -20,7 +20,10 @@ jobs:
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
- working-directory: ./api
run: |
npx -p typescript tsc --esModuleInterop --sourceMap --sourceRoot '/' --inlineSources *.ts
ls -lah
- uses: getsentry/action-release@v1
if: github.event.deployment_status.environment == 'production'
env: