For angular cli builds on gitlab
2.7K
Docker container having all you need to build your angular cli app on the CI server.
docker pull dxjoke/docker-angular-ci-build
image: dxjoke/docker-angular-ci-build
stages:
- build
- test
before_script:
- npm install
app-build:
stage: build
artifacts:
paths:
- dist/
script:
- npm run build
unit-tests:
stage: test
script:
- npm test
docker pull dxjoke/docker-angular-ci-build:latest