testing with npm, also moved types to dev
Unit Tests with docker compose / unit-test (pull_request) Failing after 27s
Details
Unit Tests with docker compose / unit-test (pull_request) Failing after 27s
Details
This commit is contained in:
parent
5d2c9cd325
commit
2081c2fea8
|
@ -10,10 +10,10 @@ jobs:
|
||||||
- name: Starting docker daemon
|
- name: Starting docker daemon
|
||||||
run: docker-init -- dockerd --host=unix:///var/run/docker.sock &
|
run: docker-init -- dockerd --host=unix:///var/run/docker.sock &
|
||||||
- name: Installing necessary packages
|
- name: Installing necessary packages
|
||||||
run: apk add nodejs git curl bash
|
run: apk add nodejs git curl bash nodejs
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install project dependencies
|
- name: Install project dependencies
|
||||||
run: docker run -w /usr/src/app -v ./:/usr/src/app oven/bun:1 bun i --verbose
|
run: npm install #docker run -w /usr/src/app -v ./:/usr/src/app oven/bun:1 bun i --verbose
|
||||||
- name: Run docker-compose
|
- name: Run docker-compose
|
||||||
run: docker compose down -v && docker compose run bot-api bun test
|
run: docker compose down -v && docker compose run bot-api bun test
|
|
@ -6,6 +6,10 @@
|
||||||
"@types/jest": "^29.5.11",
|
"@types/jest": "^29.5.11",
|
||||||
"@types/mongodb-memory-server": "^2.3.0",
|
"@types/mongodb-memory-server": "^2.3.0",
|
||||||
"@types/supertest": "^6.0.1",
|
"@types/supertest": "^6.0.1",
|
||||||
|
"@types/express": "^4.17.21",
|
||||||
|
"@types/express-list-endpoints": "^6.0.3",
|
||||||
|
"@types/jsonwebtoken": "^9.0.5",
|
||||||
|
"@types/mongoose": "^5.11.97",
|
||||||
"bun-types": "latest",
|
"bun-types": "latest",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"mongodb-memory-server": "^9.1.3",
|
"mongodb-memory-server": "^9.1.3",
|
||||||
|
@ -22,10 +26,6 @@
|
||||||
"test": "docker compose down -v && docker compose run bot-api bun test"
|
"test": "docker compose down -v && docker compose run bot-api bun test"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/express": "^4.17.21",
|
|
||||||
"@types/express-list-endpoints": "^6.0.3",
|
|
||||||
"@types/jsonwebtoken": "^9.0.5",
|
|
||||||
"@types/mongoose": "^5.11.97",
|
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"express-list-endpoints": "^6.0.0",
|
"express-list-endpoints": "^6.0.0",
|
||||||
"jsonwebtoken": "^9.0.2",
|
"jsonwebtoken": "^9.0.2",
|
||||||
|
|
Loading…
Reference in New Issue