changed the action to use cache #19
|
@ -6,7 +6,8 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/docker/image:/var/lib/docker/image:rw
|
- /var/lib/docker:/mnt:rw
|
||||||
|
- /root:/root:rw
|
||||||
steps:
|
steps:
|
||||||
- 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 &
|
||||||
|
@ -15,6 +16,6 @@ jobs:
|
||||||
- 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: npm ci --ignore-scripts
|
run: npm install --ignore-scripts
|
||||||
- name: Run docker-compose
|
- name: Run docker-compose
|
||||||
run: docker compose down -v && docker compose run bot-api bun test
|
run: docker compose down -v && docker compose run bot-api bun test
|
Loading…
Reference in New Issue