From 0fb0c07fa31128d4b07fcb88e803d007771cfa30 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 13 Jan 2025 00:19:36 +1100 Subject: [PATCH] ci: MongoDB 4, 5 CI jobs fail for LTS branch (#9536) --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) 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: