2 Commits

Author SHA1 Message Date
b3365607c5 Muahahahha 2023-05-04 23:28:40 -04:00
96058995be New approach...
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-04 23:19:45 -04:00
3 changed files with 14 additions and 39 deletions

View File

@@ -10,23 +10,19 @@ steps:
image: node:latest
commands:
- yarn install
- name: Code Style Checks
image: node:latest
commands:
- yarn prettier
- name: Lint
image: node:latest
commands:
- yarn lint
- name: Unit Tests
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
@@ -41,34 +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: |
{
@@ -81,14 +57,11 @@ steps:
- success
- failure
depends_on:
- Test Pipeline
trigger:
branch:
- main
event:
- pull_request
- push
- tag
---
kind: pipeline
@@ -117,7 +90,8 @@ steps:
token:
- from_secret: gitea_token
volumes:
- name: yarnrc
- name: npmrc
path: /drone/grow/.npmrc
- name: Report NPM Publish Status
image: plugins/webhook
settings:
@@ -175,14 +149,16 @@ volumes:
- name: dockersock
host:
path: /var/run/docker.sock
- name: yarnrc
- name: npmrc
host:
path: /volume1/docker/.yarnrc.yml
path: /volume1/docker/grow/labs-auth/.npmrc
depends_on:
- Build Pipeline
trigger:
branch:
- main
event:
- tag
@@ -240,5 +216,7 @@ depends_on:
- Build Pipeline
trigger:
branch:
- main
event:
- tag

3
.npmrc
View File

@@ -1,3 +0,0 @@
@mifi:registry=https://git.mifi.dev/api/packages/mifi/npm
//git.mifi.dev/api/packages/mifi/npm/:_authToken=${NPM_TOKEN}
@mifi/grow:registry=https://git.mifi.dev

View File

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