unit testing #7
|
@ -5,7 +5,7 @@ on: [pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
unit-test:
|
unit-test:
|
||||||
container:
|
container:
|
||||||
image: docker:dind
|
image: docker:dind-rootless
|
||||||
steps:
|
steps:
|
||||||
- name: Installing node
|
- name: Installing node
|
||||||
run: apk add nodejs git curl bash
|
run: apk add nodejs git curl bash
|
||||||
|
@ -13,7 +13,5 @@ jobs:
|
||||||
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: Be root
|
|
||||||
run: su
|
|
||||||
- name: Run docker-compose
|
- name: Run docker-compose
|
||||||
run: dind compose down -v && dind compose run bot-api bun test
|
run: dind compose down -v && dind compose run bot-api bun test
|
Loading…
Reference in New Issue