Add OpenCode + oh-my-opencode to dev containers #66
Workflow file for this run
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 | |
| - name: Typecheck (app) | |
| run: pnpm --filter ./packages/app check | |
| - name: Typecheck (lib) | |
| run: pnpm --filter ./packages/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 | |
| - name: Lint (app) | |
| run: pnpm --filter ./packages/app lint | |
| - name: Lint (lib) | |
| run: pnpm --filter ./packages/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 | |
| - name: Test (app) | |
| run: pnpm --filter ./packages/app test | |
| - name: Test (lib) | |
| run: pnpm --filter ./packages/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 | |
| - name: Lint Effect-TS (app) | |
| run: pnpm --filter ./packages/app lint:effect | |
| - name: Lint Effect-TS (lib) | |
| run: pnpm --filter ./packages/lib lint:effect |