added tsconfig.json in Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
70
.drone.yml
70
.drone.yml
@@ -1,35 +1,35 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: server_build_and_test
|
||||
|
||||
steps:
|
||||
- name: build_server
|
||||
image: node
|
||||
commands:
|
||||
- npm ci -w @calchat/shared
|
||||
- npm ci -w @calchat/server
|
||||
- npm run build -w @calchat/server
|
||||
|
||||
- name: jest_server
|
||||
image: node
|
||||
commands:
|
||||
- npm run test -w @calchat/server
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: check_for_formatting
|
||||
|
||||
steps:
|
||||
- name: format_check
|
||||
image: node
|
||||
commands:
|
||||
- npm ci
|
||||
- npm run check_format
|
||||
|
||||
---
|
||||
|
||||
# kind: pipeline
|
||||
# type: docker
|
||||
# name: server_build_and_test
|
||||
#
|
||||
# steps:
|
||||
# - name: build_server
|
||||
# image: node
|
||||
# commands:
|
||||
# - npm ci -w @calchat/shared
|
||||
# - npm ci -w @calchat/server
|
||||
# - npm run build -w @calchat/server
|
||||
#
|
||||
# - name: jest_server
|
||||
# image: node
|
||||
# commands:
|
||||
# - npm run test -w @calchat/server
|
||||
#
|
||||
# ---
|
||||
#
|
||||
# kind: pipeline
|
||||
# type: docker
|
||||
# name: check_for_formatting
|
||||
#
|
||||
# steps:
|
||||
# - name: format_check
|
||||
# image: node
|
||||
# commands:
|
||||
# - npm ci
|
||||
# - npm run check_format
|
||||
#
|
||||
# ---
|
||||
#
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: deploy_server
|
||||
@@ -67,6 +67,6 @@ steps:
|
||||
- docker pull gitea.gilmour109.de/gilmour109/calchat-server:latest
|
||||
- docker compose -f /root/calchat-mongo/docker-compose.yml up -d
|
||||
|
||||
depends_on:
|
||||
- server_build_and_test
|
||||
- check_for_formatting
|
||||
# depends_on:
|
||||
# - server_build_and_test
|
||||
# - check_for_formatting
|
||||
|
||||
Reference in New Issue
Block a user