17 lines
470 B
YAML
17 lines
470 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 && source /root/.bashrc
|
|
- name: Install dependencies
|
|
run: bun install
|
|
- name: Run the test
|
|
run: bun test |