New approach...
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-04 23:19:45 -04:00
parent 1d43b78590
commit 96058995be
2 changed files with 5 additions and 12 deletions

View File

@@ -10,22 +10,18 @@ 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
image: plugins/webhook
settings:
@@ -59,12 +55,10 @@ steps:
image: node:latest
commands:
- yarn install
- name: Build
image: node:latest
commands:
- yarn build
- name: Send Status Notifications
image: plugins/webhook
settings:
@@ -117,7 +111,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,9 +170,10 @@ volumes:
- name: dockersock
host:
path: /var/run/docker.sock
- name: yarnrc
volumes:
- name: npmrc
host:
path: /volume1/docker/.yarnrc.yml
path: /volume1/docker/grow/labs-auth/.npmrc
depends_on:
- Build Pipeline

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