Skip to content

Commit

Permalink
Try apt-get again
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Apr 19, 2024
1 parent cb28c5e commit e833c66
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -364,20 +364,18 @@ jobs:
ubuntu*)
apt-get update -y
apt-get install -y curl git
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
apt-get install -y nodejs
echo INSTALLED
node -v
npm -v
;;
alpine*)
apk add nodejs npm git
;;
esac
run: |
set -e
case "${{ matrix.settings.distro }}" in
ubuntu*)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.nvm/nvm.sh
nvm install 20
;;
esac
echo "Node: $(node -v)"
echo "npm: $(npm -v)"
npm install --ignore-scripts --omit=optional
Expand Down

0 comments on commit e833c66

Please sign in to comment.