This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user