Skip to content

Commit d1bd1c2

Browse files
committed
Fixup
1 parent 9d7c8e7 commit d1bd1c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CI.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
sudo apt install --yes --no-install-recommends npm curl
7878
# need to update nodejs because with ubuntu's default nodejs version we would get this error:
7979
# error @jest/[email protected]: The engine "node" is incompatible with this module. Expected version "^14.15.0 || ^16.10.0 || >=18.0.0". Got "12.22.9"
80-
sudo npm install -g n
80+
sudo npm install --global n
8181
sudo n lts
8282
- name: Print versions
8383
run: |
@@ -128,7 +128,7 @@ jobs:
128128
# at wrapSafe (internal/modules/cjs/loader.js:915:16)
129129
# ...
130130
# ```
131-
sudo npm install -g n
131+
sudo npm install --global n
132132
sudo n lts
133133
- uses: actions/checkout@v2
134134
with:

0 commit comments

Comments
 (0)