From 7a3de9f58bbebf4be108ee978f18b9a1806337f5 Mon Sep 17 00:00:00 2001 From: Sean King Date: Wed, 18 May 2022 23:06:12 -0600 Subject: [PATCH] Fix GitHub issue with NPM dependency resolving in CI pipeline --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5542e7f4..1b57b2ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,7 @@ build: stage: build before_script: &before-build - apk --no-cache add git + - git config --global url."https://github.com/".insteadOf git://github.com/ script: - npm install - npm run build:prod @@ -32,6 +33,7 @@ lint: stage: test before_script: &before-yarn - apk --no-cache add git + - git config --global url."https://github.com/".insteadOf git://github.com/ - yarn cache clean - yarn cache: