Skip to content

fix: Simplify Node 12 testing by checking in pre-built lib files #131

fix: Simplify Node 12 testing by checking in pre-built lib files

fix: Simplify Node 12 testing by checking in pre-built lib files #131

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
mongodb-version: [7.0]
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential
- name: Start MongoDB ${{ matrix.mongodb-version }}
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-replica-set: test-rs
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run lint && npm run build && npm run coverage
env:
CI: true
MONGODB_URI: mongodb://localhost:27017/feathers-mongoose-test?replicaSet=test-rs