chore: add experiments (feature flags) system with admin commands #710
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: | |
| pull_request: | |
| branches: | |
| - main | |
| # - release | |
| push: | |
| branches: | |
| - main | |
| merge_group: | |
| branches: | |
| - main | |
| # cancel in-progress runs on new commits to same PR (gitub.event.number) | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: 🔠 Lint project | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: lts/* | |
| - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9e1c8eafbd745f64b1ef30a7d7ed7965034c486c | |
| name: 🟧 Install pnpm | |
| - name: 📦 Install dependencies (root only, no scripts) | |
| run: pnpm install --filter . --ignore-scripts | |
| - name: 🔠 Lint project | |
| run: pnpm lint | |
| build: | |
| name: � Build project | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: lts/* | |
| - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9e1c8eafbd745f64b1ef30a7d7ed7965034c486c | |
| name: 🟧 Install pnpm | |
| - name: 📦 Install dependencies (root only, no scripts) | |
| run: pnpm install --filter . --ignore-scripts | |
| - name: 🔼 Generate Prisma Client | |
| run: pnpm prisma:generate | |
| - name: 🏗️ Build project | |
| run: pnpm build |