Skip to content

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

@wagner-intevation

Description

@wagner-intevation

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/[email protected]: 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:

echo "deb [signed-by=/etc/apt/trusted.gpg.d/nodesource.asc] https://deb.nodesource.com/node_14.x ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo wget -O /etc/apt/trusted.gpg.d/nodesource.asc https://deb.nodesource.com/gpgkey/nodesource.gpg.key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions