feat: setup ci #1
Workflow file for this run
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: 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] |