1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-08 02:42:44 +00:00

chore(workflow): run the build workflow on ubuntu 20.04

This commit is contained in:
2025-03-13 15:50:23 +05:00
parent af1a386b13
commit aca2fff4ac

View File

@@ -5,7 +5,7 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
@@ -28,7 +28,7 @@ jobs:
run: npm run lint-web
build-api:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
@@ -45,13 +45,6 @@ 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
@@ -73,7 +66,7 @@ jobs:
CI: true
build-web:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix: