unit testing #7
|
@ -5,13 +5,13 @@ on: [pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
unit-test:
|
unit-test:
|
||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-latest
|
image: docker:dind
|
||||||
steps:
|
steps:
|
||||||
|
- name: Installing node
|
||||||
|
run: apk add nodejs git curl bash
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install Bun runtime
|
- name: Install Bun runtime
|
||||||
run: curl -fsSL https://bun.sh/install | bash
|
run: curl -fsSL https://bun.sh/install | bash
|
||||||
- name: Install docker-compose
|
|
||||||
run: apt update && apt install -y docker.io
|
|
||||||
- name: Run docker-compose
|
- name: Run docker-compose
|
||||||
run: docker compose down -v && docker compose run bot-api bun test
|
run: dind compose down -v && dind compose run bot-api bun test
|
Loading…
Reference in New Issue