|
| 1 | +name: Check |
| 2 | + |
| 3 | +on: |
| 4 | + workflow_dispatch: |
| 5 | + pull_request: |
| 6 | + branches: [main] |
| 7 | + push: |
| 8 | + branches: [main] |
| 9 | + |
| 10 | +concurrency: |
| 11 | + group: ${{ github.workflow }}-${{ github.ref }} |
| 12 | + cancel-in-progress: true |
| 13 | + |
| 14 | +permissions: {} |
| 15 | + |
| 16 | +jobs: |
| 17 | + build: |
| 18 | + name: Build |
| 19 | + runs-on: ubuntu-latest |
| 20 | + timeout-minutes: 10 |
| 21 | + steps: |
| 22 | + - uses: actions/checkout@v6 |
| 23 | + - name: Install dependencies |
| 24 | + uses: ./.github/actions/setup |
| 25 | + |
| 26 | + types: |
| 27 | + name: Types |
| 28 | + runs-on: ubuntu-latest |
| 29 | + timeout-minutes: 10 |
| 30 | + steps: |
| 31 | + - uses: actions/checkout@v6 |
| 32 | + - name: Install dependencies |
| 33 | + uses: ./.github/actions/setup |
| 34 | + - run: pnpm check |
| 35 | + |
| 36 | + lint: |
| 37 | + name: Lint |
| 38 | + runs-on: ubuntu-latest |
| 39 | + timeout-minutes: 10 |
| 40 | + steps: |
| 41 | + - uses: actions/checkout@v6 |
| 42 | + - name: Install dependencies |
| 43 | + uses: ./.github/actions/setup |
| 44 | + # vibecode-linter uses npx internally for dependency checks |
| 45 | + # In pnpm workspaces, npx doesn't find local packages correctly |
| 46 | + # Install TypeScript and Biome globally as a workaround |
| 47 | + # See: https://github.com/ton-ai-core/vibecode-linter/issues (pending issue) |
| 48 | + - name: Install global linter dependencies |
| 49 | + run: npm install -g typescript @biomejs/biome |
| 50 | + - run: pnpm lint |
| 51 | + |
| 52 | + test: |
| 53 | + name: Test |
| 54 | + runs-on: ubuntu-latest |
| 55 | + timeout-minutes: 10 |
| 56 | + steps: |
| 57 | + - uses: actions/checkout@v6 |
| 58 | + - name: Install dependencies |
| 59 | + uses: ./.github/actions/setup |
| 60 | + # vibecode-linter uses npx internally for dependency checks (lint:tests runs first) |
| 61 | + - name: Install global linter dependencies |
| 62 | + run: npm install -g typescript @biomejs/biome |
| 63 | + - run: pnpm test |
| 64 | + |
| 65 | + lint-effect: |
| 66 | + name: Lint Effect-TS |
| 67 | + runs-on: ubuntu-latest |
| 68 | + timeout-minutes: 10 |
| 69 | + steps: |
| 70 | + - uses: actions/checkout@v6 |
| 71 | + - name: Install dependencies |
| 72 | + uses: ./.github/actions/setup |
| 73 | + - run: pnpm lint:effect |
0 commit comments