Skip to content

Merge pull request #120 from Marsup/renovate/sinon-18.x #282

Merge pull request #120 from Marsup/renovate/sinon-18.x

Merge pull request #120 from Marsup/renovate/sinon-18.x #282

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu]
node: ['latest', '20', '18']
hapi: ['21', '20']
include:
- os: ubuntu
node: 'latest'
hapi: 'latest'
services:
mongodb:
image: mongo:6
ports:
- 27017:27017
runs-on: ${{ matrix.os }}-latest
name: ${{ matrix.os }} node@${{ matrix.node }} hapi@${{ matrix.hapi }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
check-latest: ${{ matrix.node == '*' }}
- name: install
run: npm install
- name: install hapi
run: npm install @hapi/hapi@${{ matrix.hapi }}
- name: test
run: npm test