.gitlab-ci.yml: run playwright tests on fedora

This commit is contained in:
Sanne Raymaekers 2025-05-08 18:15:12 +02:00 committed by Klara Simickova
parent e560f011aa
commit ad5b378479
2 changed files with 8 additions and 2 deletions

View file

@ -6,12 +6,16 @@ source /etc/os-release
sudo dnf install -y \
libappstream-glib
# RHEL9 has nodejs and npm separately
if [[ "$ID" == rhel && ${VERSION_ID%.*} == 10 ]]; then
sudo dnf install -y nodejs-npm \
sqlite # node fails to pull this in
else
elif [[ "$ID" == rhel ]]; then
sudo dnf install -y npm
elif [[ "$ID" == fedora ]]; then
sudo dnf install -y \
nodejs-npm \
sqlite \
gettext
fi
npm ci