Add jest and add drone by not complete yet
This commit is contained in:
parent
a6e0a23306
commit
7b4b438b31
11
.drone.yml
Normal file
11
.drone.yml
Normal file
@ -0,0 +1,11 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: ci
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
- image: node
|
||||
- command:
|
||||
- yarn
|
||||
- yarn migrate
|
||||
- yarn test
|
@ -3,13 +3,16 @@
|
||||
"license": "MIT",
|
||||
"main": "main.ts",
|
||||
"devDependencies": {
|
||||
"@types/jest": "^26.0.20",
|
||||
"jest": "^26.6.3",
|
||||
"prisma": "2.18.0",
|
||||
"ts-node": "9.1.1",
|
||||
"typescript": "4.2.3"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "ts-node ./src/main.ts",
|
||||
"migrate": "prisma migrate dev --name add-profile --preview-feature"
|
||||
"migrate": "prisma migrate dev --name add-profile --preview-feature",
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@prisma/client": "2.18.0"
|
||||
|
Loading…
Reference in New Issue
Block a user