Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

feat(apps/api): remove Sentry builds

Gergő Móricz5eb0235ccb6a
diff --git a/.github/workflows/deploy-image.yml b/.github/workflows/deploy-image.yml
index 59079dd78..af6523b9c 100644
--- a/.github/workflows/deploy-image.yml
+++ b/.github/workflows/deploy-image.yml
@@ -2,7 +2,6 @@ name: Deploy Images to GHCR
env:
DOTNET_VERSION: '6.0.x'
- SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
on:
push:
@@ -31,5 +30,5 @@ jobs:
- name: 'Build Inventory Image'
run: |
- docker build . --tag ghcr.io/mendableai/firecrawl:latest --secret id=SENTRY_AUTH_TOKEN
+ docker build . --tag ghcr.io/mendableai/firecrawl:latest
docker push ghcr.io/mendableai/firecrawl:latest
\ No newline at end of file
diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile
index c0bdbb58e..051bb3574 100644
--- a/apps/api/Dockerfile
+++ b/apps/api/Dockerfile
@@ -19,8 +19,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN apt-get clean && apt-get update -qq && apt-get install -y ca-certificates && update-ca-certificates
RUN pnpm install
-RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
- bash -c 'export SENTRY_AUTH_TOKEN="$(cat /run/secrets/SENTRY_AUTH_TOKEN)"; if [ -z $SENTRY_AUTH_TOKEN ]; then pnpm run build:nosentry; else pnpm run build; fi'
+RUN pnpm run build
# Install Go
FROM golang:1.19 AS go-base
diff --git a/apps/api/package.json b/apps/api/package.json
index 315199980..0403efd11 100644
--- a/apps/api/package.json
+++ b/apps/api/package.json
@@ -9,7 +9,7 @@
"format": "prettier --write \"src/**/*.(js|ts)\"",
"flyio": "node dist/src/index.js",
"start:dev": "nodemon --exec ts-node src/index.ts",
- "build": "tsc && pnpm sentry:sourcemaps",
+ "build": "tsc",
"build:nosentry": "tsc",
"test": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false --testPathIgnorePatterns='src/__tests__/e2e_noAuth/*'",
"test:local-no-auth": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false --testPathIgnorePatterns='src/__tests__/e2e_withAuth/*'",