File tree 1 file changed +8
-1
lines changed
src/ci/docker/host-x86_64/mingw-check
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
17
17
pkg-config \
18
18
mingw-w64
19
19
20
+ RUN curl -sL https://nodejs.org/dist/v14.4.0/node-v14.4.0-linux-x64.tar.xz | tar -xJ
21
+ ENV PATH="/node-v14.4.0-linux-x64/bin:${PATH}"
22
+ # Install es-check
23
+ RUN npm install es-check -g
24
+
20
25
COPY scripts/sccache.sh /scripts/
21
26
RUN sh /scripts/sccache.sh
22
27
@@ -29,4 +34,6 @@ ENV SCRIPT python3 ../x.py --stage 2 test src/tools/expand-yaml-anchors && \
29
34
python3 ../x.py test --stage 0 src/tools/compiletest && \
30
35
python3 ../x.py test --stage 2 src/tools/tidy && \
31
36
python3 ../x.py doc --stage 0 library/std && \
32
- /scripts/validate-toolstate.sh
37
+ /scripts/validate-toolstate.sh && \
38
+ # Runs checks to ensure that there are no ES5 issues in our JS code.
39
+ es-check es5 ../src/librustdoc/html/static/*.js
You can’t perform that action at this time.
0 commit comments