chore(deps): update node.js to v22 #183
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: 2024 Erik Michelson <opensource@erik.michelson.eu> | |
# | |
# SPDX-License-Identifier: MIT | |
name: Run tests | |
on: | |
push: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- 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' |