From b2c93cda2af9b091687eb209438fc07801a00b06 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 14 Dec 2021 15:57:25 +0100 Subject: [PATCH] feat(ci): Added woodpecker CI --- .woodpecker/deploy.yml | 16 ++++++++++++++++ README.md | 1 + package.json | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .woodpecker/deploy.yml diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml new file mode 100644 index 0000000..0416e64 --- /dev/null +++ b/.woodpecker/deploy.yml @@ -0,0 +1,16 @@ +pipeline: + validate: + image: node:lts-alpine + commands: + - yarn install + - yarn valid + deploy: + image: node:lts-alpine + commands: + - echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > .npmrc + - yarn publish --non-interactive + secrets: [ node_auth_token ] + when: + event: tag + tag: v* + diff --git a/README.md b/README.md index 2211b6e..76621e3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Flaschengeist types +![status-badge](https://ci.os-sc.org/api/badges/Flaschengeist/flaschengeist-types/status.svg) This package provides the TypeScript typings needed for developing with the [Flaschengeist](https://flaschengeist.dev/Flaschengeist/flaschengeist) and the [Flaschengeist-Plugin](https://flaschengeist.dev/Flaschengeist/flaschengeist-frontend) API. diff --git a/package.json b/package.json index 789fede..a7c0c9c 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "typings": "types/index.d.ts", "scripts": { "valid": "tsc --noEmit", - "format": "prettier --config ./package.json --write '{,!(node_modules)/**/}*.ts'" + "format": "prettier --config ./package.json --write '{,!(node_modules)/**/}*.ts'" }, "peerDependencies": { "vue": "^3.2.20",