Skip to content

Commit

Permalink
cicd: fix install commands for ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
biomadeira committed Nov 7, 2024
1 parent ef5926e commit a712f17
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
# Install Canvas/Fabric dependencies
#----------------------------------------------
- name: Install Canvas/Fabric Dependencies
run: apk add --no-cache build-base g++ cairo-dev pango-dev jpeg-dev giflib-dev librsvg-dev
run: |
sudo apt update && apt install -y build-essential \
g++ libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
#----------------------------------------------
# Try a "clean" install (without forcing dependencies)
#----------------------------------------------
Expand All @@ -29,7 +31,8 @@ jobs:
- name: Check lockfile
run: |
- npm install --force
- git ls-files -m | grep -q package-lock.json && { echo "WARNING - Lock file is outdated!" && exit 1; }
- git ls-files -m | grep -q package-lock.json \
&& { echo "WARNING - Lock file is outdated!" && exit 1; }
- exit 0
#----------------------------------------------
# Run npm audit
Expand Down

0 comments on commit a712f17

Please sign in to comment.