17 lines
468 B
YAML
17 lines
468 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
|
|
- name: Install dependencies
|
|
run: ~/.bun/bin/bun install
|
|
- name: Run the test
|
|
run: ~/.bun/bin/bun test |