From b3365607c5e7decbc4e2c8af269bf511e4601703 Mon Sep 17 00:00:00 2001 From: mifi Date: Thu, 4 May 2023 23:28:40 -0400 Subject: [PATCH] Muahahahha --- .drone.yml | 36 +++++++++--------------------------- package.json | 2 +- 2 files changed, 10 insertions(+), 28 deletions(-) diff --git a/.drone.yml b/.drone.yml index b4a912f..be31a0f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,7 @@ steps: image: node:latest commands: - yarn test -- name: Send Status Notification +- name: Send Test Status Notification image: plugins/webhook settings: urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r @@ -37,32 +37,14 @@ steps: status: - success - failure - -trigger: - event: - - push - ---- -kind: pipeline -type: docker -name: Build Pipeline - -workspace: - path: /drone/grow - -steps: -- name: yarn install - image: node:latest - commands: - - yarn install - name: Build image: node:latest commands: - yarn build -- name: Send Status Notifications +- name: Send Build Status Notifications image: plugins/webhook settings: - urls: https://lab.mifi.dev/hooks/ccw34hdf7tgbjmzp96nptn938r + urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r content_type: application/json template: | { @@ -75,14 +57,11 @@ steps: - success - failure -depends_on: - - Test Pipeline - trigger: - branch: - - main event: + - pull_request - push + - tag --- kind: pipeline @@ -170,7 +149,6 @@ volumes: - name: dockersock host: path: /var/run/docker.sock -volumes: - name: npmrc host: path: /volume1/docker/grow/labs-auth/.npmrc @@ -179,6 +157,8 @@ depends_on: - Build Pipeline trigger: + branch: + - main event: - tag @@ -236,5 +216,7 @@ depends_on: - Build Pipeline trigger: + branch: + - main event: - tag diff --git a/package.json b/package.json index daac0cb..e0fa7a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mifi/auth", - "version": "0.0.9", + "version": "0.0.10", "author": "mifi (Mike Fitzpatrick)", "license": "MIT", "scripts": {