From e733ee0f40b7967570bbbc70af5cd58f4eeb2abc 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 | 14 ++++++++++++++ .woodpecker/.lint.yml | 9 +++++++++ README.md | 1 + 3 files changed, 24 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..b0b1e0a --- /dev/null +++ b/.woodpecker/.deploy.yml @@ -0,0 +1,14 @@ +pipeline: + deploy: + when: + event: tag + tag: v* + image: node:lts-alpine + commands: + - echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > .npmrc + - 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).