Skip to content

chore: update for build, config, CLI and tests: #102

chore: update for build, config, CLI and tests:

chore: update for build, config, CLI and tests: #102

Workflow file for this run

name: Node.js CI/CD
on:
pull_request:
branches: [ "*" ]
workflow_dispatch: # Allow manual triggering
jobs:
setup:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Deno 2.4.3
uses: denoland/setup-deno@v1
with:
deno-version: 2.4.3
- name: Setup Bun 1.2.19
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.19
- name: Setup Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Type check
run: npx --no-install tsc --noEmit
- name: Run tests
run: npm run test
- name: Run coverage
run: npm run test:coverage