Skip to content

Commit d33c0bb

Browse files
committed
feat: ci
1 parent 171bf4d commit d33c0bb

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
quality:
11+
name: Code Quality
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version-file: ".nvmrc"
21+
22+
- name: Setup PNPM
23+
uses: pnpm/action-setup@v2
24+
with:
25+
version: "8.9.0"
26+
27+
- name: Install dependencies
28+
run: pnpm install
29+
30+
- name: Check formatting
31+
run: pnpm prettier --check "**/*.{ts,tsx,md}"
32+
33+
- name: Run linting
34+
run: pnpm lint

0 commit comments

Comments
 (0)