From d1bd1c2de5aa576aa671035de0570504defa3135 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Fri, 2 Jun 2023 15:54:58 +0800 Subject: [PATCH] Fixup --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a96da0816..7e55a1641 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -77,7 +77,7 @@ jobs: sudo apt install --yes --no-install-recommends npm curl # need to update nodejs because with ubuntu's default nodejs version we would get this error: # error @jest/core@29.4.1: The engine "node" is incompatible with this module. Expected version "^14.15.0 || ^16.10.0 || >=18.0.0". Got "12.22.9" - sudo npm install -g n + sudo npm install --global n sudo n lts - name: Print versions run: | @@ -128,7 +128,7 @@ jobs: # at wrapSafe (internal/modules/cjs/loader.js:915:16) # ... # ``` - sudo npm install -g n + sudo npm install --global n sudo n lts - uses: actions/checkout@v2 with: