just copy paste because seems imposible otherwise
This commit is contained in:
parent
1e3889d9b9
commit
5917aa0fd8
|
@ -9,13 +9,21 @@ jobs:
|
||||||
unit-test:
|
unit-test:
|
||||||
container:
|
container:
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
|
volumes:
|
||||||
|
- /usr/local/share/.cache/yarn:/usr/local/share/.cache/yarn
|
||||||
|
- /var/lib/docker/image:/var/lib/docker/image
|
||||||
|
- /var/lib/docker/overlay2:/var/lib/docker/overlay2
|
||||||
steps:
|
steps:
|
||||||
|
- name: Starting docker daemon
|
||||||
|
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 yarn git curl bash
|
||||||
- name: Checkout
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Run test job
|
- name: Install project dependencies
|
||||||
uses: ./.gitea/workflows/test.yaml
|
run: yarn install --frozen-lockfile --ignore-scripts
|
||||||
|
- name: Run docker-compose
|
||||||
|
run: docker compose down -v && docker compose run bot-api bun test
|
||||||
build:
|
build:
|
||||||
container:
|
container:
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
|
|
Loading…
Reference in New Issue