skip the isntalation of bun if already on the system
Unit Tests with docker compose / unit-test (pull_request) Failing after 26s
Details
Unit Tests with docker compose / unit-test (pull_request) Failing after 26s
Details
This commit is contained in:
parent
f324c7fd2b
commit
8c744a66ba
|
@ -6,7 +6,7 @@ jobs:
|
|||
container:
|
||||
image: docker:dind
|
||||
volumes:
|
||||
- /root/.npm:/root/.npm
|
||||
- /root:/root
|
||||
- /var/lib/docker/image:/var/lib/docker/image
|
||||
- /var/lib/docker/overlay2:/var/lib/docker/overlay2
|
||||
steps:
|
||||
|
@ -17,8 +17,9 @@ jobs:
|
|||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Install bun.sh
|
||||
if: ${{ hashFiles('~/.bun/bin/bun') == '' }}
|
||||
run: curl https://raw.githubusercontent.com/LowByteFox/bun-musl/main/bun-musl -o bun-musl && bash bun-musl install
|
||||
- name: Install project dependencies
|
||||
run: ~/.bun/bin/bun install
|
||||
run: ~/.bun/bin/bun i
|
||||
- name: Run docker-compose
|
||||
run: docker compose down -v && docker compose run bot-api bun test
|
Loading…
Reference in New Issue