From af1a386b136d7213e33753e7f4b361f2d80dc851 Mon Sep 17 00:00:00 2001 From: Sabir Hassan Date: Thu, 13 Mar 2025 15:43:20 +0500 Subject: [PATCH] chore(workflow): install openssl 1.1 in actions --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6f74e93..188eaf6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,6 +45,13 @@ jobs: working-directory: ./api run: npm ci + # Ubuntu 22.04+ have moved to OpenSSL 3, so the older version isn't installed by default. + # this is required for unit tests + - name: Install OpenSSL 1.1 + run: | + sudo apt update + sudo apt install -y libssl1.1 || sudo apt install -y libssl3 + - name: Run Unit Tests working-directory: ./api run: npm test