mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-13 23:15:55 +08:00
feat(apps/api): remove Sentry builds
This commit is contained in:
parent
da46736016
commit
5eb0235ccb
3
.github/workflows/deploy-image.yml
vendored
3
.github/workflows/deploy-image.yml
vendored
@ -2,7 +2,6 @@ name: Deploy Images to GHCR
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
DOTNET_VERSION: '6.0.x'
|
DOTNET_VERSION: '6.0.x'
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -31,5 +30,5 @@ jobs:
|
|||||||
|
|
||||||
- name: 'Build Inventory Image'
|
- name: 'Build Inventory Image'
|
||||||
run: |
|
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
|
docker push ghcr.io/mendableai/firecrawl:latest
|
@ -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 apt-get clean && apt-get update -qq && apt-get install -y ca-certificates && update-ca-certificates
|
||||||
RUN pnpm install
|
RUN pnpm install
|
||||||
RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
|
RUN pnpm run build
|
||||||
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'
|
|
||||||
|
|
||||||
# Install Go
|
# Install Go
|
||||||
FROM golang:1.19 AS go-base
|
FROM golang:1.19 AS go-base
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"format": "prettier --write \"src/**/*.(js|ts)\"",
|
"format": "prettier --write \"src/**/*.(js|ts)\"",
|
||||||
"flyio": "node dist/src/index.js",
|
"flyio": "node dist/src/index.js",
|
||||||
"start:dev": "nodemon --exec ts-node src/index.ts",
|
"start:dev": "nodemon --exec ts-node src/index.ts",
|
||||||
"build": "tsc && pnpm sentry:sourcemaps",
|
"build": "tsc",
|
||||||
"build:nosentry": "tsc",
|
"build:nosentry": "tsc",
|
||||||
"test": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false --testPathIgnorePatterns='src/__tests__/e2e_noAuth/*'",
|
"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/*'",
|
"test:local-no-auth": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false --testPathIgnorePatterns='src/__tests__/e2e_withAuth/*'",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user