Commit fc94f247 authored by Kelvin Fichter's avatar Kelvin Fichter

fix(ci): use npm@8.11.0

Updates the ci builder Dockerfile to use a pinned version of npm that is
known to not have a module resolution bug found in the default version
of npm that ships with the node version from setup_16.x. Resolves an
issue when importing packages that have hardhat as a dependency, which
causes the current version of npx to try to execute the hardhat binary
found deep within the dependency tree, which in turn causes hardhat to
throw a fit.
parent 45b81a2b
...@@ -49,6 +49,7 @@ RUN apt-get update && \ ...@@ -49,6 +49,7 @@ RUN apt-get update && \
ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt && \ ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt && \
bash nodesource_setup.sh && \ bash nodesource_setup.sh && \
apt-get install -y nodejs && \ apt-get install -y nodejs && \
npm i -g npm@8.11.0 \
npm i -g yarn && \ npm i -g yarn && \
npm i -g depcheck && \ npm i -g depcheck && \
pip install slither-analyzer==0.9.1 && \ pip install slither-analyzer==0.9.1 && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment