From a587b4a4e34e6d305b5a9ae3433329e7a08899db Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Fri, 27 Jan 2023 15:14:24 +0100 Subject: [PATCH] ci: :construction_worker: add Drone CI pipeline --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..b409676 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,20 @@ +kind: pipeline +type: kubernetes +name: default + +steps: + - name: standard-version + image: node:19 + commands: + - git config --global user.email "moravrav@gmail.com" + - git config --global user.name "RaviAnand Mohabir" + - git config --global url."https://$GIT_USERNAME:$GIT_TOKEN@gitea.ravianand.me/".insteadOf "https://gitea.ravianand.me/" + - npm i -g standard-version + - 'standard-version --releaseCommitMessageFormat "chore(release): {{currentTag}} [CI SKIP]"' + - git push --follow-tags origin + +trigger: + branch: + - main + event: + - push