Merge branch 'github-issue-fix' into 'master'

Fix GitHub issue with NPM dependency resolving in CI pipeline

See merge request pleroma/admin-fe!208
This commit is contained in:
tusooa 2022-07-20 02:34:16 +00:00
commit f999074009

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: