Skip to content

fix(mikro-orm.health): mikro-orm connection type is deprecated (#2325) #9094

fix(mikro-orm.health): mikro-orm connection type is deprecated (#2325)

fix(mikro-orm.health): mikro-orm connection type is deprecated (#2325) #9094

Workflow file for this run

name: e2e tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: docker-compose up -d
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit == 'false' }}
name: List the state of node modules
continue-on-error: true
run: npm list
# TODO: Remove --legacy-peer-deps once https://github.com/mikro-orm/nestjs/issues/122 is resolved
- run: npm ci --legacy-peer-deps
- run: npm run test:e2e