Skip to content

Enhance CI workflow with test execution and job updates #3

Enhance CI workflow with test execution and job updates

Enhance CI workflow with test execution and job updates #3

Workflow file for this run

name: CI
on:
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: 'package.json'
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Typecheck
run: npm run typecheck
- name: Test
run: npm run test:once
build-js:
name: Build JS
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: 'package.json'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
build-docs:
name: Build Docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: 'package.json'
- name: Install dependencies
run: npm install
- name: Build Docs
run: npm run build:docs:api