fix: bridge GH token to git auth #25
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: Check | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/setup | |
| types: | |
| name: Types | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/setup | |
| - run: pnpm check | |
| - name: Types (lib) | |
| run: pnpm --filter @effect-template/lib typecheck | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/setup | |
| # vibecode-linter uses npx internally for dependency checks | |
| # In pnpm workspaces, npx doesn't find local packages correctly | |
| # Install TypeScript and Biome globally as a workaround | |
| # See: https://github.com/ton-ai-core/vibecode-linter/issues (pending issue) | |
| - name: Install global linter dependencies | |
| run: npm install -g typescript @biomejs/biome | |
| - run: pnpm lint | |
| - name: Lint (lib) | |
| run: pnpm --filter @effect-template/lib lint | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/setup | |
| # vibecode-linter uses npx internally for dependency checks (lint:tests runs first) | |
| - name: Install global linter dependencies | |
| run: npm install -g typescript @biomejs/biome | |
| - run: pnpm test | |
| - name: Test (lib) | |
| run: pnpm --filter @effect-template/lib test | |
| lint-effect: | |
| name: Lint Effect-TS | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| uses: ./.github/actions/setup | |
| - run: pnpm lint:effect | |
| - name: Lint Effect-TS (lib) | |
| run: pnpm --filter @effect-template/lib lint:effect |