The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 2cdcf30d authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

fixed .gitlab-ci.yml

fixed .dockerignore
parent f900df89
No related merge requests found
Pipeline #29 failed with stages
in 2 minutes and 51 seconds
.tmp
.vscode
bin
coverage
data
dist
docs
node_modules
public
site
src
test
.dockerignore
.gitignore
.gitlab-ci.yml
.npmignore
docker-compose.yml
Dockerfile
mkdocs.yml
package-lock.json
package.json
Readme.md
tsconfig.json
webpack.*
\ No newline at end of file
*
\ No newline at end of file
......@@ -10,33 +10,36 @@ variables:
npm_install:
stage: build_app
image: node:8-alpine
image:
name: node:8-alpine
entrypoint: ["/bin/su", "node", "-c"]
script:
- test -d .npm && mv .npm ${HOME}
- npm run build
- npm run ci
- mv ${HOME}/.npm .
cache:
key: "${CI_PROJECT_ID}"
paths:
- .npm
- public
- lib
- node_modules
- dist
- public
- test
tags:
- docker
npm_ci:
stage: test_app
image: node:8-alpine
image:
name: node:8-alpine
entrypoint: ["/bin/su", "node", "-c"]
script:
- npm run ci
cache:
key: "${CI_PROJECT_ID}"
paths:
- .npm
- dist
- lib
- public
tags:
- docker
......@@ -45,7 +48,9 @@ npm_publish:
stage: publish_app
only:
- master
image: node:8-alpine
image:
name: node:8-alpine
entrypoint: ["/bin/su", "node", "-c"]
script:
- 'echo "//services.ub.uni-leipzig.de/nexus/repository/npm-ubl/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
- npm publish
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment