Compare commits
No commits in common. "1e625b07757a0229014010f4048d6c143332d5e3" and "57f67751400510731811c2a2ecd62539172bd9f3" have entirely different histories.
1e625b0775
...
57f6775140
20
.drone.yml
20
.drone.yml
@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: tests:latest
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
steps:
|
|
||||||
- name: checkout pr
|
|
||||||
image: alpine/git
|
|
||||||
commands:
|
|
||||||
- git clone $DRONE_REMOTE_URL .
|
|
||||||
- git checkout $DRONE_SOURCE_BRANCH
|
|
||||||
- mv .env.ci .env
|
|
||||||
- name: run tests
|
|
||||||
image: node:alpine
|
|
||||||
commands:
|
|
||||||
- yarn
|
|
||||||
- yarn test:ci
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
8
.env.ci
8
.env.ci
@ -1,8 +0,0 @@
|
|||||||
APP_PORT=4010
|
|
||||||
DB_TYPE=sqlite
|
|
||||||
DB_HOST=unused
|
|
||||||
DB_PORT=unused
|
|
||||||
DB_USER=unused
|
|
||||||
DB_PASSWORD=bla
|
|
||||||
DB_NAME=./test.sqlite
|
|
||||||
NODE_ENV=production
|
|
@ -59,7 +59,6 @@
|
|||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"nodemon": "^2.0.6",
|
"nodemon": "^2.0.6",
|
||||||
"sqlite3": "^5.0.0",
|
"sqlite3": "^5.0.0",
|
||||||
"start-server-and-test": "^1.11.6",
|
|
||||||
"ts-jest": "^26.4.4",
|
"ts-jest": "^26.4.4",
|
||||||
"ts-node": "^9.0.0",
|
"ts-node": "^9.0.0",
|
||||||
"typedoc": "^0.19.2",
|
"typedoc": "^0.19.2",
|
||||||
@ -70,8 +69,7 @@
|
|||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"docs": "typedoc --out docs src",
|
"docs": "typedoc --out docs src",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "jest --watchAll",
|
"test:watch": "jest --watchAll"
|
||||||
"test:ci": "start-server-and-test dev http://localhost:4010/api/openapi.json test"
|
|
||||||
},
|
},
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
"ignore": [
|
"ignore": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user