From: romeroalx Date: Tue, 21 Oct 2025 10:27:33 +0000 (+0200) Subject: gh actions: add npm package for swagger test X-Git-Tag: auth-5.0.1~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=092f5a878c5ad4eb28a8abe895e8804d0a9a510e;p=thirdparty%2Fpdns.git gh actions: add npm package for swagger test --- diff --git a/tasks.py b/tasks.py index c8fd62899c..091ad25eb9 100644 --- a/tasks.py +++ b/tasks.py @@ -1200,6 +1200,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')