Skip to content

Commit ebdc54d

Browse files
committed
feat: add github action workflow
1 parent c6daaed commit ebdc54d

2 files changed

Lines changed: 36 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI Quality
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
jobs:
10+
quality:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v3
15+
16+
- name: Setup Node
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 22
20+
cache: "pnpm"
21+
22+
- name: Install dependencies
23+
run: pnpm install
24+
25+
- name: Check Formatting & Lint
26+
run: pnpm lint
27+
28+
- name: Type Check (Strict)
29+
run: pnpm type-check
30+
31+
- name: Security Audit
32+
run: pnpm audit

commitlint.config.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ export default {
1616
'refactor',
1717
'revert',
1818
'style',
19-
'test'
20-
]
19+
'test',
20+
],
2121
],
2222
'subject-full-stop': [2, 'never', '.'],
23-
}
24-
}
23+
},
24+
};

0 commit comments

Comments
 (0)