Improve testability of classes #199
Workflow file for this run
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
name: Node CI | |
on: [push, pull_request] | |
jobs: | |
build-nodev18: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '18.x' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm run prepublishOnly | |
build-nodev20: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '20.x' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm run prepublishOnly | |
build-nodev22: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 22 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '22.x' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: npm run prepublishOnly |