changed the action to use cache #19

Merged
bizcochito merged 30 commits from testing into develop 2024-01-06 18:57:41 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit 937c7db2d5 - Show all commits

View File

@ -6,7 +6,8 @@ jobs:
container:
image: docker:dind
volumes:
- /var/lib/docker/image:/var/lib/docker/image:rw
- /var/lib/docker:/mnt:rw
- /root:/root:rw
steps:
- name: Starting docker daemon
run: docker-init -- dockerd --host=unix:///var/run/docker.sock &
@ -15,6 +16,6 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install project dependencies
run: npm ci --ignore-scripts
run: npm install --ignore-scripts
- name: Run docker-compose
run: docker compose down -v && docker compose run bot-api bun test