Muahahahha

This commit is contained in:
2023-05-04 23:28:40 -04:00
parent 96058995be
commit b3365607c5
2 changed files with 10 additions and 28 deletions

View File

@@ -22,7 +22,7 @@ steps:
image: node:latest image: node:latest
commands: commands:
- yarn test - yarn test
- name: Send Status Notification - name: Send Test Status Notification
image: plugins/webhook image: plugins/webhook
settings: settings:
urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r
@@ -37,32 +37,14 @@ steps:
status: status:
- success - success
- failure - 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 - name: Build
image: node:latest image: node:latest
commands: commands:
- yarn build - yarn build
- name: Send Status Notifications - name: Send Build Status Notifications
image: plugins/webhook image: plugins/webhook
settings: settings:
urls: https://lab.mifi.dev/hooks/ccw34hdf7tgbjmzp96nptn938r urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r
content_type: application/json content_type: application/json
template: | template: |
{ {
@@ -75,14 +57,11 @@ steps:
- success - success
- failure - failure
depends_on:
- Test Pipeline
trigger: trigger:
branch:
- main
event: event:
- pull_request
- push - push
- tag
--- ---
kind: pipeline kind: pipeline
@@ -170,7 +149,6 @@ volumes:
- name: dockersock - name: dockersock
host: host:
path: /var/run/docker.sock path: /var/run/docker.sock
volumes:
- name: npmrc - name: npmrc
host: host:
path: /volume1/docker/grow/labs-auth/.npmrc path: /volume1/docker/grow/labs-auth/.npmrc
@@ -179,6 +157,8 @@ depends_on:
- Build Pipeline - Build Pipeline
trigger: trigger:
branch:
- main
event: event:
- tag - tag
@@ -236,5 +216,7 @@ depends_on:
- Build Pipeline - Build Pipeline
trigger: trigger:
branch:
- main
event: event:
- tag - tag

View File

@@ -1,6 +1,6 @@
{ {
"name": "@mifi/auth", "name": "@mifi/auth",
"version": "0.0.9", "version": "0.0.10",
"author": "mifi (Mike Fitzpatrick)", "author": "mifi (Mike Fitzpatrick)",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {