Skip to content

Commit db16c98

Browse files
authored
Merge pull request #16 from takker99/add-ci
👷 lint, format and type check on push/pull request
2 parents cc668ea + 670ea12 commit db16c98

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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.20.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 mod.ts

0 commit comments

Comments
 (0)