[PRO-974] add sentry for both client and server (#20)

Basically ran through the remix + cloudflare setup docs.
This commit is contained in:
Chris Toshok
2025-02-20 14:13:19 -07:00
committed by GitHub
parent 38d389a42e
commit e4a57bf59e
10 changed files with 1223 additions and 2 deletions

View File

@@ -9,6 +9,11 @@ inputs:
required: false
type: string
default: '20.15.1'
sentry-auth-token:
required: false
type: string
default: ''
runs:
using: composite
@@ -30,3 +35,5 @@ runs:
run: |
pnpm install
pnpm run build
env:
SENTRY_AUTH_TOKEN: ${{ inputs.sentry-auth-token }}

View File

@@ -10,7 +10,7 @@ on:
jobs:
test:
name: Test
name: CI/CD (and deploy on main)
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -18,6 +18,8 @@ jobs:
- name: Setup and Build
uses: ./.github/actions/setup-and-build
with:
sentry-auth-token: ${{ github.ref == 'refs/heads/main' && secrets.SENTRY_AUTH_TOKEN || '' }}
- name: Run type check
run: pnpm run typecheck