Commit 7b72ad81 authored by Peter Müller's avatar Peter Müller

Added .gitlab-ci.yml

parent b4c9b70f
Pipeline #115 passed with stage
in 13 seconds
image: crycode/nodejs-dev-env
stages:
- build
- deploy
cache:
paths:
- node_modules/
typescript-build:
stage: build
artifacts:
expire_in: 1 week
name: "coffee-build-${CI_COMMIT_SHA:0:8}"
paths:
- .js/
script:
- coffee -c -o .js *.coffee
publish-to-npm:
stage: deploy
script:
- npm config set unsafe-perm true
- npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
- npm publish
environment:
name: production
url: https://www.npmjs.com/package/pimatic-pcf8574
when: manual
only:
- tags
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