This commit is contained in:
92
.drone.yml
92
.drone.yml
@@ -1,46 +1,46 @@
|
|||||||
# kind: pipeline
|
kind: pipeline
|
||||||
# type: docker
|
type: docker
|
||||||
# name: server_build_and_test
|
name: server_build_and_test
|
||||||
#
|
|
||||||
# trigger:
|
trigger:
|
||||||
# branch:
|
branch:
|
||||||
# - main
|
- main
|
||||||
# event:
|
event:
|
||||||
# - push
|
- push
|
||||||
#
|
|
||||||
# steps:
|
steps:
|
||||||
# - name: build_server
|
- name: build_server
|
||||||
# image: node
|
image: node
|
||||||
# commands:
|
commands:
|
||||||
# - npm ci
|
- npm ci
|
||||||
# - npm run build -w @calchat/shared
|
- npm run build -w @calchat/shared
|
||||||
# - npm run build -w @calchat/server
|
- npm run build -w @calchat/server
|
||||||
#
|
|
||||||
# - name: jest_server
|
- name: jest_server
|
||||||
# image: node
|
image: node
|
||||||
# commands:
|
commands:
|
||||||
# - npm run test -w @calchat/server
|
- npm run test -w @calchat/server
|
||||||
#
|
|
||||||
# ---
|
---
|
||||||
#
|
|
||||||
# kind: pipeline
|
kind: pipeline
|
||||||
# type: docker
|
type: docker
|
||||||
# name: check_for_formatting
|
name: check_for_formatting
|
||||||
#
|
|
||||||
# trigger:
|
trigger:
|
||||||
# branch:
|
branch:
|
||||||
# - main
|
- main
|
||||||
# event:
|
event:
|
||||||
# - push
|
- push
|
||||||
#
|
|
||||||
# steps:
|
steps:
|
||||||
# - name: format_check
|
- name: format_check
|
||||||
# image: node
|
image: node
|
||||||
# commands:
|
commands:
|
||||||
# - npm ci
|
- npm ci
|
||||||
# - npm run check_format
|
- npm run check_format
|
||||||
#
|
|
||||||
# ---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
@@ -191,9 +191,9 @@ steps:
|
|||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
|
|
||||||
# depends_on:
|
depends_on:
|
||||||
# - server_build_and_test
|
- server_build_and_test
|
||||||
# - check_for_formatting
|
- check_for_formatting
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user