bot-api/.gitea/workflows/test.yaml

17 lines
454 B
YAML

name: Unit Tests
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [pull_request]
jobs:
unit-test:
container:
image: node:16-bullseye
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install Bun runtime
run: curl -fsSL https://bun.sh/install | bash && bash
- name: Install dependencies
run: bun install
- name: Run the test
run: bun test