Skip to content

Commit

Permalink
Update CI workflow: add system dependencies installation and fix npm …
Browse files Browse the repository at this point in the history
…package installations
  • Loading branch information
AlirezaRa94 committed Jan 13, 2025
1 parent e534930 commit dbceb6a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -49,8 +52,8 @@ jobs:
npm install npm@$NPM_VERSION
fi
rm -rf node_modules package-lock.json
npm install -g [email protected]
npm install enketo-transformer
npm install libxmljs
- name: Run the transformer script
shell: bash -l {0}
Expand Down

0 comments on commit dbceb6a

Please sign in to comment.