Skip to content

Commit dfad91c

Browse files
committed
👷 lint, format, type check and test on push/pull request
1 parent fa80235 commit dfad91c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- uses: denoland/setup-deno@main
11+
with:
12+
deno-version: "1.18.2"
13+
- name: Check fmt
14+
run: deno fmt --check
15+
- name: Run lint
16+
run: deno lint
17+
- name: Run type check
18+
run: deno cache ./**/*.ts
19+
- name: Run test
20+
run: deno test
21+

0 commit comments

Comments
 (0)