Skip to content

Commit f9d30de

Browse files
committed
Add CI workflow
Fixes #7
1 parent d509c59 commit f9d30de

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ['main']
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
checks:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: pnpm/action-setup@v4
16+
with:
17+
version: latest
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: 'lts/*'
22+
cache: 'pnpm'
23+
24+
- run: pnpm i --frozen-lockfile
25+
26+
- run: pnpm run lint
27+
28+
- run: pnpm run check

0 commit comments

Comments
 (0)