Now install packages without using a container, and fixed the ping thing
Unit Tests with docker compose / unit-test (pull_request) Successful in 4m20s Details

This commit is contained in:
Sugui 2023-12-31 11:54:46 +01:00
parent 5941fcc1f2
commit 199f06db43
1 changed files with 3 additions and 3 deletions

View File

@ -10,10 +10,10 @@ jobs:
- name: Starting docker daemon
run: docker-init -- dockerd --host=unix:///var/run/docker.sock &
- name: Installing necessary packages
run: apk add nodejs git curl bash
run: apk add npm git curl bash
- name: Check out repository code
uses: actions/checkout@v3
- name: Install project dependencies
run: docker run -w /usr/src/app -v ./:/usr/src/app node:20 npm install
run: npm install
- name: Run docker-compose
run: docker compose down -v && docker compose run bot-api ping mongodb
run: docker compose down -v && docker compose run bot-api bun test