Skip to content

Merge pull request #104 from Marsup/renovate/hapijs-monorepo #242

Merge pull request #104 from Marsup/renovate/hapijs-monorepo

Merge pull request #104 from Marsup/renovate/hapijs-monorepo #242

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