-
-
Notifications
You must be signed in to change notification settings - Fork 12
32 lines (24 loc) · 709 Bytes
/
Copy pathci.yml
File metadata and controls
32 lines (24 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
lint-and-build:
name: Lint, Format & Build
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message || '', '[skip ci]') && !contains(github.event.pull_request.title || '', '[skip ci]') }}
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Setup environment
uses: ./.github/actions/setup
- name: Run ESLint
run: bun run lint
- name: Check Prettier formatting
run: bun run format:check
- name: Type check
run: bun run typecheck
- name: Build project
run: bun run build