Skip to content

Merge pull request #20 from odnari/dependabot/npm_and_yarn/js-yaml-3.… #41

Merge pull request #20 from odnari/dependabot/npm_and_yarn/js-yaml-3.…

Merge pull request #20 from odnari/dependabot/npm_and_yarn/js-yaml-3.… #41

Workflow file for this run

name: Testing
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
test:
name: Test on Node.js ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: [18, 20]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Test
run: npm test