Skip to content

feat: update mongoose's version to be compatable with typescript sche… #5

feat: update mongoose's version to be compatable with typescript sche…

feat: update mongoose's version to be compatable with typescript sche… #5

Workflow file for this run

name: Run tests
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
mongodb-version: ['6.0']
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: MongoDB Installation and Start
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongodb-version }}
- name: Install dependencies
run: npm i -g npminstall && npminstall
- name: Run Unit Tests
run: npm run test-local
- name: Upload coverage
run: npm run ci