Skip to content

chore: Update husky to modern v9+ syntax #99

chore: Update husky to modern v9+ syntax

chore: Update husky to modern v9+ syntax #99

Workflow file for this run

name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm test
env:
CI: true
- name: Upload coverage to Codecov
if: matrix.node-version == 24
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage
flags: unittests
fail_ci_if_error: true