Skip to content

chore: update Node support #117

chore: update Node support

chore: update Node support #117

Workflow file for this run

name: Sanity check
on:
push:
branches: master
pull_request:
branches: master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x, 23.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: docker compose up -d
- run: yarn install
- run: yarn test
- run: yarn add mongodb@6 && yarn test
- run: yarn cov:send
- run: yarn cov:check
- run: yarn build