yarn
Unit Tests with docker compose / unit-test (pull_request) Successful in 3m11s Details

This commit is contained in:
Alie 2024-01-06 18:25:49 +01:00
parent 2b3401b4a3
commit 30d8ff2ec9
2 changed files with 6 additions and 2 deletions

View File

@ -12,10 +12,10 @@ jobs:
- name: Starting docker daemon
run: docker-init -- dockerd --host=unix:///var/run/docker.sock &
- name: Installing necessary packages
run: apk add npm git curl bash
run: apk add yarn git curl bash
- name: Check out repository code
uses: actions/checkout@v3
- name: Install project dependencies
run: npm install --ignore-scripts
run: yarn install --ignore-scripts
- name: Run docker-compose
run: docker compose down -v && docker compose run bot-api bun test

4
bunfig.toml Normal file
View File

@ -0,0 +1,4 @@
[install.lockfile]
# whether to save a non-Bun lockfile alongside bun.lockb
# only "yarn" is supported
print = "yarn"