about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-29 14:58:32 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-29 15:06:08 +0200
commitb1723fc83be899ba084fb31935352cf5393956b4 (patch)
tree697e2daecacfa901242201536b3aaaba815e841b /src/ci
parentf0f661db2b4edad3aa22df32a24176407125d70a (diff)
Centralize the eslint version between tidy and docker
Diffstat (limited to 'src/ci')
-rw-r--r--src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile3
-rw-r--r--src/ci/docker/host-x86_64/mingw-check-tidy/eslint.version1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile b/src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile
index 2ec8eb62c7a..903145c1bb6 100644
--- a/src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile
+++ b/src/ci/docker/host-x86_64/mingw-check-tidy/Dockerfile
@@ -29,7 +29,8 @@ RUN sh /scripts/nodejs.sh /node
 ENV PATH="/node/bin:${PATH}"
 
 # Install eslint
-RUN npm install eslint@8.6.0
+COPY host-x86_64/mingw-check-tidy/eslint.version /tmp/
+RUN npm install eslint@$(head -n 1 /tmp/eslint.version)
 
 COPY scripts/sccache.sh /scripts/
 RUN sh /scripts/sccache.sh
diff --git a/src/ci/docker/host-x86_64/mingw-check-tidy/eslint.version b/src/ci/docker/host-x86_64/mingw-check-tidy/eslint.version
new file mode 100644
index 00000000000..1acea15afd6
--- /dev/null
+++ b/src/ci/docker/host-x86_64/mingw-check-tidy/eslint.version
@@ -0,0 +1 @@
+8.6.0
\ No newline at end of file