diff --git a/.circleci/config.yml b/.circleci/config.yml index 38f442305..a510cc659 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -123,7 +123,7 @@ jobs: command: git config --global url."https://git@".insteadOf git:// - run: name: App npm install - command: npm install + command: npm ci no_output_timeout: 20m - save_cache: key: test-node-modules-{{ checksum "package-lock.json" }} diff --git a/Dockerfile b/Dockerfile index d1c888941..b82836be6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -165,7 +165,7 @@ ENV TOPGEAR_ALLOWED_SUBMISSIONS_DOMAINS=$TOPGEAR_ALLOWED_SUBMISSIONS_DOMAINS RUN npm config set unsafe-perm true RUN git config --global url."https://git@".insteadOf git:// -RUN npm install +RUN npm ci RUN npm test RUN npm run build