This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
chore: release v3.0.0-alpha.8 #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- 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 | |
run: bun test | |
# - name: Run Jest tests | |
# run: bun run test | |
- name: Build | |
run: bun run build |