Skip to content

fix: resolve all CI typecheck failures and fix build order #5

fix: resolve all CI typecheck failures and fix build order

fix: resolve all CI typecheck failures and fix build order #5

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
name: Build, Lint & Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build all packages (in dependency order)
run: |
npm run build --workspace=@aether/kdl
npm run build --workspace=@aether/core
npm run build --workspace=@aether/adapters
npm run build --workspace=@aether/cli
- name: Type check
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Format check
run: npm run format:check
- name: Run tests
run: npm test
- name: Upload coverage
uses: codecov/codecov-action@v4
if: always()
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: './packages'
flags: unittests