Skip to content

Merge pull request #659 from hildjj/update-dependencies #612

Merge pull request #659 from hildjj/update-dependencies

Merge pull request #659 from hildjj/update-dependencies #612

Workflow file for this run

name: Tests
on:
push:
branches: main
pull_request:
branches: main
jobs:
build:
strategy:
matrix:
node-version: [20, 22, 24, 25]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Check coding standards
if: matrix.os == 'ubuntu-latest'
run: npm run lint
- name: Static analysis - check types
if: matrix.os == 'ubuntu-latest'
run: npm run ts
- name: Test
run: npm run test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}