Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

test: add *.spec.ts test files for Jest #6

test: add *.spec.ts test files for Jest

test: add *.spec.ts test files for Jest #6

Workflow file for this run

name: CI
on:
pull_request:
branches:
- '*'
push:
branches:
- 'main'
jobs:
run-ci:
name: Run Unit Tests, Lint, and Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.15
- name: Install dependencies
run: bun install
- name: Lint
run: bun run lint
- name: Prettier
run: bun run prettier
- name: Typecheck
run: bun run typecheck
- name: Run tests (Bun)
run: bun run test:bun
- name: Run tests (Jest)
run: bun run test:jest
- name: Build
run: bun run build