Skip to content

Merge pull request #8 from Whatar/dependabot/npm_and_yarn/types/chai-… #61

Merge pull request #8 from Whatar/dependabot/npm_and_yarn/types/chai-…

Merge pull request #8 from Whatar/dependabot/npm_and_yarn/types/chai-… #61

Workflow file for this run

name: "Test"
on:
push:
branches: [ "main" ]
pull_request:
types: ["opened"]
jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: [16.x, 18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/[email protected]
- name: Setup nodejs
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build and run test
run: npm run test