Don't install dev dependencies when building

This commit is contained in:
Raoul Snyman 2024-04-24 09:45:13 -07:00
parent 544b400829
commit 4ae8667945
1 changed files with 2 additions and 2 deletions

View File

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