Intevation / intelmq-webinput-csv

A web interface for interactively inserting one-off abuse-incident data in CSV format into https://intelmq.org/.
https://intevation.github.io/intelmq-webinput-csv/index.html
2 stars 1 forks source link

Workflow: Debian Package build test uses wrong node version #4

Open wagner-intevation opened 3 months ago

wagner-intevation commented 3 months ago

The GitHub workflow currently fails with

# client
cd client && \
sed -i '/[[:space:]]*publicPath:/s@'/'@'/intelmq-webinput/'@' vue.config.js && \
yarn
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.20.4"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
make[1]: *** [debian/rules:18: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/home/runner/work/intelmq-webinput-csv/intelmq-webinput-csv'
make: *** [debian/rules:5: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Error: Process completed with exit code 2.

However, we actually add the node 14 repository:

https://github.com/Intevation/intelmq-webinput-csv/blob/ff4cc1f6cc61117d718f37c950320b4ecbc84405/.github/workflows/scripts/debian-package.sh#L18-L19