Skip to content
Snippets Groups Projects
Verified Commit 0d3d7c9c authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

[CI] Deploy to local package registry

parent 3b3446a8
No related merge requests found
Pipeline #131118 failed
...@@ -2,9 +2,17 @@ image: node:latest ...@@ -2,9 +2,17 @@ image: node:latest
stages: stages:
- test - test
- deploy
lint-test-job: lint-test-job:
stage: test stage: test
script: script:
- npm install - npm install
- npm run lint - npm run lint
deploy_gitlab:
stage: deploy
script:
- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}">.npmrc
- npm publish
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment