Implemented automatic ci env generation

ref #118
This commit is contained in:
2021-01-26 17:54:25 +01:00
parent e26744b792
commit 536de2a319
2 changed files with 41 additions and 2 deletions

View File

@@ -77,7 +77,9 @@
"docs": "typedoc --out docs src",
"test": "jest",
"test:watch": "jest --watchAll",
"test:ci": "start-server-and-test dev http://localhost:4010/api/docs/openapi.json test",
"test:ci:generate_env": "ts-node scripts/create_testenv.ts",
"test:ci:run": "start-server-and-test dev http://localhost:4010/api/docs/openapi.json test",
"test:ci": "npm run test:ci:generate_env && npm run test:ci:run",
"seed": "ts-node ./node_modules/typeorm/cli.js schema:sync && ts-node ./node_modules/typeorm-seeding/dist/cli.js seed",
"openapi:export": "ts-node scripts/openapi_export.ts",
"licenses:export": "license-exporter --md",
@@ -102,4 +104,4 @@
"docs/*"
]
}
}
}