Skip to content

Merge pull request #3 from Kinplemelon/kinple/dev #30

Merge pull request #3 from Kinplemelon/kinple/dev

Merge pull request #3 from Kinplemelon/kinple/dev #30

Workflow file for this run

name: Unit Tests
on:
pull_request:
push:
branches: [main]
release:
types: [published]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22, 23]
steps:
- uses: actions/checkout@v4
- name: Set up 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: Run type checking
run: npm run typecheck
- name: Run linting
run: npm run lint
- name: Run tests
run: npm run test
- name: Run build
run: npm run build