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:
7
.github/workflows/post-deploy.yml
vendored
7
.github/workflows/post-deploy.yml
vendored
@@ -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:
|
||||
|
Reference in New Issue
Block a user