Skip to content

Commit b98dcda

Browse files
committed
ci: add test workflow
1 parent 266383c commit b98dcda

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)