Skip to content

Commit cc91c75

Browse files
committed
save
1 parent 21db1dc commit cc91c75

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

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

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ jobs:
105105
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
106106
sudo apt-get update
107107
sudo apt-get -y install helm
108+
which helm
109+
helm version
108110
109111
- name: WSL Install Kind
110112
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
@@ -113,20 +115,15 @@ jobs:
113115
[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
114116
chmod +x ./kind
115117
sudo mv ./kind /usr/local/bin/kind
118+
which kind
119+
kind version
116120
117-
- name: WSL Install NodeJS
118-
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
119-
shell: wsl-bash {0}
120-
run: |
121-
sudo apt update
122-
sudo apt -y install nodejs npm
123-
node -v
124121
125122
- name: WSL Install Docker
126123
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
127124
shell: wsl-bash {0}
128125
run: |
129-
126+
130127
sudo apt-get update
131128
sudo apt-get install ca-certificates curl
132129
sudo install -m 0755 -d /etc/apt/keyrings
@@ -143,6 +140,17 @@ jobs:
143140
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
144141
sudo docker run hello-world
145142
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+
152+
153+
146154
- name: Setup Node
147155
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
148156
with:

0 commit comments

Comments
 (0)