Skip to content

Commit 0bf4d92

Browse files
authoredMar 27, 2023
Add in deno type check and deno task test script (#14)
1 parent 52b92dc commit 0bf4d92

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
 

‎.github/workflows/deno.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ jobs:
2727
run: deno lint
2828

2929
- name: Run tests
30-
run: deno test --allow-none
30+
run: deno task test
31+
32+
- name: Run type check
33+
run: deno check *.ts && deno check **/*.ts

‎deno.jsonc

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"importMap": "import_map.json"
2+
"importMap": "import_map.json",
3+
"tasks": {
4+
"test": "deno fmt --check && deno lint && deno test --allow-read --allow-none"
5+
}
36
}

0 commit comments

Comments
 (0)