unit testing #7
|
@ -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 nodejs-npm
|
||||
run: apk add nodejs git curl bash
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Install project dependencies
|
||||
run: npm install #docker run -w /usr/src/app -v ./:/usr/src/app oven/bun:1 bun i --verbose
|
||||
run: docker run -w /usr/src/app -v ./:/usr/src/app node:20 npm install
|
||||
- name: Run docker-compose
|
||||
run: docker compose down -v && docker compose run bot-api bun test
|
Loading…
Reference in New Issue