-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI workflow: add system dependencies installation and fix npm …
…package installations
- Loading branch information
1 parent
e534930
commit dbceb6a
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected] | ||
npm install enketo-transformer | ||
npm install libxmljs | ||
- name: Run the transformer script | ||
shell: bash -l {0} | ||
|