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 image: node:latest
commands: commands:
- yarn install - yarn install
- name: Code Style Checks - name: Code Style Checks
image: node:latest image: node:latest
commands: commands:
- yarn prettier - yarn prettier
- name: Lint - name: Lint
image: node:latest image: node:latest
commands: commands:
- yarn lint - yarn lint
- name: Unit Tests - name: Unit Tests
image: node:latest image: node:latest
commands: commands:
- yarn test - yarn test
- name: Send Status Notification - name: Send Status Notification
image: plugins/webhook image: plugins/webhook
settings: settings:
@@ -59,12 +55,10 @@ steps:
image: node:latest image: node:latest
commands: commands:
- yarn install - yarn install
- name: Build - name: Build
image: node:latest image: node:latest
commands: commands:
- yarn build - yarn build
- name: Send Status Notifications - name: Send Status Notifications
image: plugins/webhook image: plugins/webhook
settings: settings:
@@ -117,7 +111,8 @@ steps:
token: token:
- from_secret: gitea_token - from_secret: gitea_token
volumes: volumes:
- name: yarnrc - name: npmrc
path: /drone/grow/.npmrc
- name: Report NPM Publish Status - name: Report NPM Publish Status
image: plugins/webhook image: plugins/webhook
settings: settings:
@@ -175,9 +170,10 @@ volumes:
- name: dockersock - name: dockersock
host: host:
path: /var/run/docker.sock path: /var/run/docker.sock
- name: yarnrc volumes:
- name: npmrc
host: host:
path: /volume1/docker/.yarnrc.yml path: /volume1/docker/grow/labs-auth/.npmrc
depends_on: depends_on:
- Build Pipeline - 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