diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8fcbb4b86..60cd82df8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -211,6 +211,11 @@ jobs: ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}- - name: Install dependencies run: npm ci + - run: | + if [[ "$MONGODB_VERSION" == "4."* || "$MONGODB_VERSION" == "5."* ]]; then + wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb + sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb + fi - run: npm run pretest - run: npm run coverage env: