Skip to content

Merge pull request #1 from Whatar/dependabot/npm_and_yarn/types/node-… #44

Merge pull request #1 from Whatar/dependabot/npm_and_yarn/types/node-…

Merge pull request #1 from Whatar/dependabot/npm_and_yarn/types/node-… #44

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