Skip to content

Merge pull request #584 from tschaub/dependabot/npm_and_yarn/chai-4.5.0 #278

Merge pull request #584 from tschaub/dependabot/npm_and_yarn/chai-4.5.0

Merge pull request #584 from tschaub/dependabot/npm_and_yarn/chai-4.5.0 #278

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CI: true
jobs:
run:
name: Node ${{ matrix.node }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- 16
- 18
- 20
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set Node.js version
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm --version
- name: Install npm dependencies
run: npm install # switch to `ci` when Node.js 6.x is dropped
- name: Run tests
run: npm test