File tree 1 file changed +14
-5
lines changed 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,13 @@ jobs:
133
133
variant : sccache
134
134
key : ${{ github.job }}-${{ matrix.os }}
135
135
136
+ - name : Remove existing node
137
+ shell : bash -l {0}
138
+ run : |
139
+ which node
140
+ node -v
141
+ sudo rm -rf /usr/local/bin/node /usr/local/bin/npm
142
+
136
143
- name : Install Emscripten from Git
137
144
shell : bash -l {0}
138
145
run : |
@@ -142,20 +149,20 @@ jobs:
142
149
git clone https://github.com/emscripten-core/emsdk.git
143
150
cd emsdk
144
151
145
- # Download and install the latest SDK tools.
146
- ./emsdk install latest
152
+ ./emsdk install 3.1.35
147
153
148
- # Make the "latest" SDK "active" for the current user. (writes .emscripten file)
149
- ./emsdk activate latest
154
+ ./emsdk activate 3.1.35
150
155
151
- - name : Show Emscripten Info
156
+ - name : Show Emscripten and Node Info
152
157
shell : bash -l {0}
153
158
run : |
154
159
set -ex
155
160
# Activate PATH and other environment variables in the current terminal
156
161
source $HOME/ext/emsdk/emsdk_env.sh
157
162
emcc -v
158
163
em++ -v
164
+ which node
165
+ node -v
159
166
160
167
- name : Build to WASM
161
168
shell : bash -l {0}
@@ -170,4 +177,6 @@ jobs:
170
177
run : |
171
178
set -ex
172
179
source $HOME/ext/emsdk/emsdk_env.sh # Activate Emscripten
180
+ which node
181
+ node -v
173
182
node src/lpython/tests/test_lpython.js
You can’t perform that action at this time.
0 commit comments