Skip to content

chore: update test and lint commands #14

chore: update test and lint commands

chore: update test and lint commands #14

Workflow file for this run

name: Test
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: latest
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: node --run test:unit
- name: Run tests with coverage
run: node --test --experimental-test-coverage
- name: Run linter
run: node --run lint