uhr/.drone.yml

41 lines
745 B
YAML
Raw Normal View History

kind: pipeline
name: default
steps:
- name: prepare
image: node:12
commands:
- npm install
- name: audit
image: node:12
failure: ignore
commands:
- npm audit
- name: build
image: node:12
commands:
- npm run build:prod
- name: update version
image: node:12
commands:
- npm version prerelease
2019-05-10 15:23:56 +02:00
when:
branch:
- develop
- feature/*
# - name: release
# image: plugins/gitea-release
# settings:
# api_key:
# from_secret: gitea_token
# base_url: https://gittr.ch/
# checksum:
# - md5
# - sha512
# files: dist/*
# file_exists: fail
# note: README.md
# title: VERSION
# when:
# event: tag