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