Skip to content

feat: setup ci

feat: setup ci #2

Workflow file for this run

name: PR 🚀
on:
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Install deps
run: bun install --frozen-lockfile
- name: Formatting
run: bun run prettier --check .
- name: Code style
run: bun run lint
- name: Tests
run: bun run test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}