Skip to content

Feature - Upgrading Fastify and NodeJS versions #217

Feature - Upgrading Fastify and NodeJS versions

Feature - Upgrading Fastify and NodeJS versions #217

Workflow file for this run

name: Jest Tests
on:
pull_request:
jobs:
jest-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install && npm run build
- name: Run tests
run: npm test