Added test pipeline for automatic license export
All checks were successful
continuous-integration/drone/push Build is passing

ref #59
This commit is contained in:
Nicolai Ort 2020-12-30 21:13:32 +01:00
parent 62c7f26540
commit c9378e6cae

View File

@ -42,7 +42,7 @@ steps:
depends_on: [clone] depends_on: [clone]
commands: commands:
- yarn - yarn
- yarn licenses:export - yarn licenses:full
- name: push new licenses file to repo - name: push new licenses file to repo
image: appleboy/drone-git-push image: appleboy/drone-git-push
settings: settings:
@ -118,3 +118,26 @@ steps:
trigger: trigger:
event: event:
- tag - tag
---
kind: pipeline
type: docker
name: export:licenses
steps:
- name: run full license export
image: node:alpine
depends_on: [clone]
commands:
- yarn
- yarn licenses:full
- name: push new licenses file to repo
image: appleboy/drone-git-push
settings:
branch: dev
commit: true
commit_message: new license file version [CI SKIP]
author_email: bot@odit.services
remote: git@git.odit.services:lfk/backend.git
ssh_key:
from_secret: GITLAB_SSHKEY