Skip to content

Commit

Permalink
run sentry?
Browse files Browse the repository at this point in the history
  • Loading branch information
hubsmoke committed Sep 16, 2024
1 parent bc39c03 commit 3bcf796
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ jobs:
- name: Set up Sentry CLI
run: |
sentry-cli --version
sentry-cli login --auth-token $SENTRY_AUTH_TOKEN
- name: Build and tag the image (DEV)
if: github.ref == 'refs/heads/develop'
Expand Down
4 changes: 2 additions & 2 deletions desci-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"script:seed-social-data": "debug=* node --no-warnings --enable-source-maps --loader ts-node/esm ./src/scripts/seed-social-data.ts",
"script:DESTRUCTIVE-clear-social-data": "debug=* node --no-warnings --enable-source-maps --loader ts-node/esm ./src/scripts/DESTRUCTIVE-clear-social-data.ts",
"script:seed-community-member": "debug=* node --no-warnings --enable-source-maps --loader ts-node/esm ./src/scripts/seed-community-members.ts",
"build": "rimraf dist && tsc && yarn copy-files",
"build": "rimraf dist && tsc && yarn copy-files; if [ \"$SENTRY_AUTH_TOKEN\" ]; then yarn sentry:sourcemaps; else echo 'SENTRY_AUTH_TOKEN not set, sourcemaps will not upload'; fi",
"copy-files": "copyfiles -u 1 src/**/*.cjs dist/",
"generate": "npx prisma generate",
"migrate:local": "DATABASE_URL=postgresql://walter:white@localhost:5433/boilerplate npx prisma migrate dev",
Expand All @@ -51,7 +51,7 @@
"podman:dev": "podman-compose --file docker-compose.yml --file docker-compose.dev.yml up --build",
"email-dev": "email dev --dir ./src/templates/emails --port 3777",
"check-deps": "npx npm-check",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org desci-labs --project nodes-backend ./dist && sentry-cli sourcemaps upload --org desci-labs --project nodes-backend ./dist"
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org desci-labs --project nodes-backend ./dist && sentry-cli sourcemaps upload --org desci-labs --project nodes-backend ./dist && echo 'Sentry sourcemaps uploaded'"
},
"dependencies": {
"@automerge/automerge-repo": "^1.0.19",
Expand Down

0 comments on commit 3bcf796

Please sign in to comment.