File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/ci/docker/host-x86_64/mingw-check Expand file tree Collapse file tree 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 \
1717 pkg-config \
1818 mingw-w64
1919
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+
2025COPY scripts/sccache.sh /scripts/
2126RUN sh /scripts/sccache.sh
2227
@@ -29,4 +34,6 @@ ENV SCRIPT python3 ../x.py --stage 2 test src/tools/expand-yaml-anchors && \
2934 python3 ../x.py test --stage 0 src/tools/compiletest && \
3035 python3 ../x.py test --stage 2 src/tools/tidy && \
3136 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