Commit 3105f9c4 authored by Guillaume Perréal's avatar Guillaume Perréal

Mise à jour du système de publication.

parent 850d92cf
stages:
- deploy
include:
- project: pole-is/tools/ci-config
ref: "1.5.0"
file: /nodejs-ci.yml
before_script:
- npm install
stages:
- vendor
- test
- publish
publish:
stage: deploy
tags: [docker]
image: node:lts-alpine
npm:publish:
extends: .nodejs
stage: publish
only:
- tags
refs:
- tags
before_script:
- npm config set '//registry.npmjs.org/:_authToken' "$NPM_AUTH_TOKEN"
script:
- npm run ci-publish
- npm publish --access=public .
......@@ -10,12 +10,6 @@
"author": "Pôle IS Irstea <dsi.poleis@lists.irstea.fr>",
"license": "MIT",
"main": "tslint.json",
"scripts": {
"ci-publish": "ci-publish"
},
"devDependencies": {
"ci-publish": "^1.3.1"
},
"peerDependencies": {
"codelyzer": "^5.0.0",
"prettier": "^1.15.0",
......
Markdown is supported
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