mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
[PRO-974] add sentry for both client and server (#20)
Basically ran through the remix + cloudflare setup docs.
This commit is contained in:
7
.github/actions/setup-and-build/action.yaml
vendored
7
.github/actions/setup-and-build/action.yaml
vendored
@@ -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 }}
|
||||
|
||||
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user