-
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (29 loc) · 914 Bytes
/
ci.yml
File metadata and controls
38 lines (29 loc) · 914 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
33
34
35
36
37
38
# =============================================================================
# CI - Lint & Type Check
# =============================================================================
# Runs on every push and pull request to ensure code quality.
# =============================================================================
name: CI
on:
pull_request:
branches: [main, dev]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-typecheck:
name: Lint & Type Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node.js and pnpm
uses: ./.github/actions/setup-node-pnpm
- name: Run ESLint
run: pnpm lint
- name: Run TypeScript check
run: pnpm typecheck
tests:
name: Tests
uses: ./.github/workflows/tests.yml
secrets: inherit