17 lines
515 B
YAML
17 lines
515 B
YAML
name: Unit Tests with docker compose
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
unit-test:
|
|
container:
|
|
image: docker:latest
|
|
steps:
|
|
- name: Installing node
|
|
run: apk add nodejs
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: Install Bun runtime
|
|
run: curl -fsSL https://bun.sh/install | bash
|
|
- name: Run docker-compose
|
|
run: moby compose down -v && moby compose run bot-api bun test |