From a605f941553d525c56c67a603e32c87737b32595 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 8 Dec 2021 17:33:23 +0100 Subject: [PATCH] feat(ci): Added woodpecker CI --- .woodpecker/.deploy.yml | 13 +++++++++++++ .woodpecker/.lint.yml | 9 +++++++++ README.md | 1 + 3 files changed, 23 insertions(+) create mode 100644 .woodpecker/.deploy.yml create mode 100644 .woodpecker/.lint.yml diff --git a/.woodpecker/.deploy.yml b/.woodpecker/.deploy.yml new file mode 100644 index 0000000..a1b4672 --- /dev/null +++ b/.woodpecker/.deploy.yml @@ -0,0 +1,13 @@ +pipeline: + deploy: + when: + event: tag + tag: v* + image: node:lts-alpine + commands: + - yarn publish --non-interactive + secrets: [ node_auth_token ] + +depends_on: + - lint + diff --git a/.woodpecker/.lint.yml b/.woodpecker/.lint.yml new file mode 100644 index 0000000..040a118 --- /dev/null +++ b/.woodpecker/.lint.yml @@ -0,0 +1,9 @@ +pipeline: + lint: + when: + branch: [main, develop] + image: node:lts-alpine + commands: + - yarn install + - yarn lint + diff --git a/README.md b/README.md index 8f3f723..8530f7a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Flaschengeist `schedule` fontend-plugin +![status-badge](https://ci.os-sc.org/api/badges/Flaschengeist/flaschengeist-schedule/status.svg) This package provides the [Flaschengeist](https://flaschengeist.dev/Flaschengeist/flaschengeist) frontend for the schedule plugin (event and schedule management).