Skip to content

Commit 8adc9a0

Browse files
committed
save
1 parent 29abb23 commit 8adc9a0

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/zxc-compile-code.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,15 @@ jobs:
140140
# sudo systemctl start docker
141141
sudo usermod -aG docker $(whoami)
142142
143+
- name: WSL Install NodeJS
144+
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
145+
shell: wsl-bash {0}
146+
run: |
147+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
148+
nvm install node
149+
node -v
150+
npm -v
151+
143152
- name: WSL Run Docker
144153
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
145154
shell: wsl-bash {0}
@@ -151,14 +160,6 @@ jobs:
151160
sudo docker version
152161
sudo docker -D run hello-world
153162
154-
- name: WSL Install NodeJS
155-
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
156-
shell: wsl-bash {0}
157-
run: |
158-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
159-
nvm install node
160-
node -v
161-
npm -v
162163
163164
164165

0 commit comments

Comments
 (0)