Eng 1552 enable ability to change discourse graph specific keyboard #3340
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR - Roam To Blob Storage | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| paths: | |
| - "apps/roam/**" | |
| - "packages/tailwind-config/**" | |
| - "packages/utils/**" | |
| - "packages/database/**" | |
| - "packages/ui/**" | |
| env: | |
| BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }} | |
| GITHUB_HEAD_REF: ${{ github.head_ref }} | |
| GITHUB_REF_NAME: ${{ github.ref_name }} | |
| SUPABASE_URL: ${{ secrets.SUPABASE_URL }} | |
| SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }} | |
| SUPABASE_PUBLISHABLE_KEY: ${{ secrets.SUPABASE_PUBLISHABLE_KEY }} | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v6 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.15.1 | |
| run_install: false | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: "pnpm" | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build | |
| run: npx turbo run build --filter=roam --ui stream | |
| - name: Inject & upload source maps to PostHog | |
| uses: PostHog/upload-source-maps@v0.5.7.0 | |
| with: | |
| directory: apps/roam/dist | |
| env-id: ${{ secrets.POSTHOG_CLI_ENV_ID }} | |
| cli-token: ${{ secrets.POSTHOG_CLI_TOKEN }} | |
| project: Roam | |
| version: ${{ github.event.pull_request.head.sha }} # Optional; falls back to current commit SHA | |
| - name: Deploy | |
| run: npx turbo run deploy --filter=roam --ui stream -- --no-compile |