♻️ Cross-platform pages commands and unify workspace config (#859) #3309
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 8 | |
| steps: | |
| - name: 🛎 Checkout | |
| uses: actions/checkout@v4 | |
| - name: 📦 Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: 👨🏻💻 Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: 🐣 Run build | |
| run: bun turbo run build --filter '!api' | |
| env: | |
| PUBLIC_SUPABASE_URL: ${{ secrets.PUBLIC_SUPABASE_URL }} | |
| PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.PUBLIC_SUPABASE_ANON_KEY }} | |
| - name: 👀 Run lint | |
| run: bun run lint | |
| - name: 🔍 Run check | |
| run: bun turbo run check --filter '!api' | |
| env: | |
| PUBLIC_SUPABASE_URL: ${{ secrets.PUBLIC_SUPABASE_URL }} | |
| PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.PUBLIC_SUPABASE_ANON_KEY }} | |
| - name: 🧪 Run test | |
| run: bun turbo run test --filter '!api' |