Skip to content

Merge pull request #357 from Contrast-Security-OSS/NODE-3651-express5 #917

Merge pull request #357 from Contrast-Security-OSS/NODE-3651-express5

Merge pull request #357 from Contrast-Security-OSS/NODE-3651-express5 #917

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: ["*"]
jobs:
test:
name: Node v${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
matrix:
version: [16, 18, 20, 22]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node v${{ matrix.version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Install dependencies
shell: bash
run: npm install -g npm@8 && npm ci
- name: Run tests
shell: bash
run: npm test