From a6eaf9b2c21e0939abda03ea5a8011cb0e86f77f Mon Sep 17 00:00:00 2001 From: romeroalx Date: Tue, 21 Oct 2025 12:27:33 +0200 Subject: [PATCH] gh actions: add npm package for swagger test --- tasks.py | 2 ++ 1 file changed, 2 insertions(+) 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') -- 2.47.3