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

Commit

Permalink
ci: add GitHub Action CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
drichar committed Dec 4, 2023
1 parent 12b4fe6 commit a616288
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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

0 comments on commit a616288

Please sign in to comment.