Skip to content

Merge pull request #351 from Contrast-Security-OSS/NODE-2792-hapi-21 #905

Merge pull request #351 from Contrast-Security-OSS/NODE-2792-hapi-21

Merge pull request #351 from Contrast-Security-OSS/NODE-2792-hapi-21 #905

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: [14, 16, 18, 20]
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