Removes some of the weird caching behaviour Callum added to counter some of the bugs in early versions of CircleCI v2
Uses npm ci to install exact deps using package-lock.json
Removes the apt-get install step, instead using the Dockerfile here
As a result CircleCI builds should be much, much faster.
N.b., the Docker image I'm using is aendrew/starter-kit-docker:latest — I've namespaced it to my Docker/GitHub users because there's neither a Financial Times Dockerhub user nor one for ft-interactive. I figure I'll move the image and everything there eventually if and when those get created.
This does a few things:
npm ci
to install exact deps usingpackage-lock.json
apt-get install
step, instead using the Dockerfile hereAs a result CircleCI builds should be much, much faster.
N.b., the Docker image I'm using is aendrew/starter-kit-docker:latest — I've namespaced it to my Docker/GitHub users because there's neither a Financial Times Dockerhub user nor one for ft-interactive. I figure I'll move the image and everything there eventually if and when those get created.