From dbceb6a074be3fb1d64164f6dc8fd04bb0e1c7af Mon Sep 17 00:00:00 2001 From: Alireza Raei Date: Mon, 13 Jan 2025 17:56:00 +1100 Subject: [PATCH] Update CI workflow: add system dependencies installation and fix npm package installations --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7864367..1670618 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,14 +20,17 @@ jobs: include: - os: ubuntu-latest PLATFORM: Linux-x86_64 - # - os: ubuntu-latest - # PLATFORM: Linux-x86_64 # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential python3 + - name: Setup node and its dependencies shell: bash -l {0} run: | @@ -49,8 +52,8 @@ jobs: npm install npm@$NPM_VERSION fi rm -rf node_modules package-lock.json - npm install -g npm@10.9.2 npm install enketo-transformer + npm install libxmljs - name: Run the transformer script shell: bash -l {0}