Skip to content

5.0.1

5.0.1 #110

Workflow file for this run

name: Test
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [16, 18, 20]
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / Node ${{ matrix.node }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache dependents
uses: actions/cache@v4
with:
path: dependents
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('test/dependents.js') }}
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install
run: npm install
- name: Test
run: npm test