Skip to content

Add Fastify support

Add Fastify support #1

Workflow file for this run

name: Fastify adapter tests
on:
push:
branches: [main]
pull_request: {}
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]
fastify-version: [3.x, 4.x]
defaults:
run:
working-directory: fastify
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Install Fastify ${{ matrix.fastify-version }}
run: npm install fastify@${{ matrix.fastify-version }}
- name: Run tests
run: npm test