unit testing #7

Merged
Suguivy merged 67 commits from testing into develop 2023-12-31 11:11:23 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 199f06db43 - Show all commits

View File

@ -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 npm git curl bash
- 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 node:20 npm install run: npm install
- name: Run docker-compose - 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