chore(deps): update dependency @types/node to v22.10.6 #182
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2025 Erik Michelson <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
name: Tests | |
on: | |
push: | |
jobs: | |
tests: | |
name: Test on Node ${{ matrix.node-version }} | |
strategy: | |
matrix: | |
# do not test on Node 18 as the node:test module supports lcov only from 20.11.0 onwards | |
node-version: [ '20.x', '22.x' ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests with coverage | |
run: npm run coverage | |
- name: Upload coverage to coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
file: 'report.lcov' |