Fix GitHub issue with NPM dependency resolving in CI pipeline

This commit is contained in:
Sean King 2022-05-18 23:06:12 -06:00
parent 4406dce589
commit 7a3de9f58b
No known key found for this signature in database
GPG key ID: 510C52BACD6E7257

View file

@ -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: