Skip to content

Commit 6c35a7d

Browse files
committed
chore: add CI
1 parent 86a5f6f commit 6c35a7d

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Deno
19+
uses: denoland/setup-deno@v2
20+
21+
- name: Format Check
22+
run: deno fmt --check
23+
24+
- name: Lint
25+
run: deno lint
26+
27+
- name: Type Check
28+
run: deno check src
29+
30+
- name: Run Tests
31+
run: deno task test

0 commit comments

Comments
 (0)