mirror of https://gitlab.com/openlp/web-remote.git
Don't install dev dependencies when building
This commit is contained in:
parent
544b400829
commit
4ae8667945
|
@ -33,7 +33,7 @@ test:
|
|||
build-branch:
|
||||
stage: build
|
||||
script:
|
||||
- yarn install
|
||||
- yarn install --production
|
||||
- yarn build --no-progress --configuration production --aot
|
||||
- export APP_VERSION=`git describe --dirty --tags --long --match '*[0-9]*'`
|
||||
- 'echo "window.appVersion = \"$APP_VERSION\";" > dist/web-remote/assets/version.js'
|
||||
|
@ -46,7 +46,7 @@ build-branch:
|
|||
build-tag:
|
||||
stage: build
|
||||
script:
|
||||
- yarn install
|
||||
- yarn install --production
|
||||
- yarn build --no-progress --configuration production --aot
|
||||
- 'echo "window.appVersion = \"$CI_COMMIT_TAG\";" > dist/web-remote/assets/version.js'
|
||||
artifacts:
|
||||
|
|
Loading…
Reference in New Issue