Skip to content

Update package.json #232

Update package.json

Update package.json #232

Workflow file for this run

name: Test
on:
- pull_request
- push
jobs:
test:
name: ${{ matrix.os }} / Node.js ${{ matrix.node }} Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: [ 18, 20 ]
os: [ macos-latest, ubuntu-latest, windows-latest ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm ci
if: steps.node-cache.outputs.cache-hit != 'true'
- name: Test
run: npm test