-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💚 Wait for server start before running e2e test
- Loading branch information
Showing
4 changed files
with
69 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,4 @@ jobs: | |
- id: test | ||
name: E2E Test | ||
run: | | ||
bun run test:e2e | ||
bun run ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,28 @@ | ||
{ | ||
"name": "stepci-demo", | ||
"module": "index.ts", | ||
"type": "module", | ||
"module": "index.ts", | ||
"scripts": { | ||
"dev": "tsx watch index.ts", | ||
"test:e2e": "stepci run workflow.yml", | ||
"ci": "run-p --race test:*", | ||
"test:server": "NODE_DEVELOPMENT=test tsx index.ts", | ||
"test:e2e": "wait-on -l tcp:3000 && stepci run workflow.yml", | ||
"start": "tsx index.ts" | ||
}, | ||
"dependencies": { | ||
"@fastify/cors": "^8.4.0", | ||
"@fastify/swagger": "^8.10.1", | ||
"@fastify/swagger-ui": "^1.9.3", | ||
"fastify": "^4.23.2" | ||
}, | ||
"devDependencies": { | ||
"bun-types": "latest", | ||
"npm-run-all": "^4.1.5", | ||
"stepci": "^2.6.8", | ||
"tsup": "^7.2.0", | ||
"tsx": "^3.12.10" | ||
"tsx": "^3.12.10", | ||
"wait-on": "^7.0.1" | ||
}, | ||
"peerDependencies": { | ||
"typescript": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"@fastify/cors": "^8.4.0", | ||
"@fastify/swagger": "^8.10.1", | ||
"@fastify/swagger-ui": "^1.9.3", | ||
"fastify": "^4.23.2" | ||
} | ||
} |