From: romeroalx Date: Tue, 21 Oct 2025 10:27:33 +0000 (+0200) Subject: gh actions: add npm package for swagger test X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F16323%2Fhead;p=thirdparty%2Fpdns.git gh actions: add npm package for swagger test --- diff --git a/tasks.py b/tasks.py index 1d7d3e59d8..7f87b8a1a2 100644 --- a/tasks.py +++ b/tasks.py @@ -1226,6 +1226,8 @@ def test_bulk_recursor(c, size, threads, mthreads, shards, ipv6): @task def install_swagger_tools(c): + c.run('sudo apt-get update && sudo apt-get install -y npm') + c.run('sudo mkdir -p /usr/local/lib/node_modules && sudo chmod 777 /usr/local/lib/node_modules') c.run('npm install -g @stoplight/spectral-cli') c.run('npm install -g api-spec-converter')