Commit e5c7c57 1 parent f2a2990 commit e5c7c57 Copy full SHA for e5c7c57
File tree 2 files changed +27
-11
lines changed
2 files changed +27
-11
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ name: Deno
3
3
on :
4
4
push :
5
5
pull_request :
6
+ workflow_dispatch :
6
7
7
8
jobs :
8
9
denofmt-and-lint :
9
10
runs-on : ubuntu-latest
11
+ timeout-minutes : 15
10
12
steps :
11
13
- uses : denoland/setup-deno@v2
12
14
with :
16
18
- run : deno lint
17
19
- run : deno fmt --check
18
20
19
- test :
21
+ check :
20
22
runs-on : ubuntu-latest
23
+ timeout-minutes : 15
21
24
steps :
22
25
- uses : denoland/setup-deno@v2
23
26
with :
26
29
27
30
- run : deno cache *.ts
28
31
- run : deno check *.ts
29
- - run : deno test --allow-read
32
+
33
+ test :
34
+ runs-on : ubuntu-latest
35
+ timeout-minutes : 15
36
+ steps :
37
+ - uses : denoland/setup-deno@v2
38
+ with :
39
+ deno-version : v2.x
40
+ - uses : actions/checkout@v4
41
+
42
+ - run : deno cache *.ts
43
+ - run : deno test --no-check --allow-read
Original file line number Diff line number Diff line change 1
1
{
2
2
// https://deno.land/manual/getting_started/configuration_file
3
3
"lock" : false ,
4
- "tasks" : { } ,
5
4
// https://deno.land/manual/advanced/typescript/configuration
6
5
// https://www.typescriptlang.org/tsconfig/
7
6
"compilerOptions" : {
8
- "noFallthroughCasesInSwitch" : true ,
9
7
"noImplicitOverride" : true ,
10
8
"noImplicitReturns" : true ,
11
9
"noPropertyAccessFromIndexSignature" : true ,
12
10
"noUncheckedIndexedAccess" : true ,
13
- "noUnusedLocals" : true ,
14
- "noUnusedParameters" : true ,
15
11
"useUnknownInCatchVariables" : true
16
12
} ,
13
+ "fmt" : {
14
+ "exclude" : [ "README.md" ] ,
15
+ "proseWrap" : "preserve" ,
16
+ "useTabs" : true
17
+ } ,
17
18
"lint" : {
18
19
"rules" : {
19
20
// https://lint.deno.land/?all=on
23
24
"eqeqeq" ,
24
25
"explicit-module-boundary-types" ,
25
26
"no-await-in-loop" ,
26
- "no-eval"
27
+ "no-eval" ,
28
+ "no-non-null-asserted-optional-chain" ,
29
+ "no-non-null-assertion" ,
30
+ "no-slow-types" ,
31
+ "no-sparse-arrays" ,
32
+ "verbatim-module-syntax"
27
33
]
28
34
}
29
- } ,
30
- "fmt" : {
31
- "exclude" : [ "README.md" ] ,
32
- "useTabs" : true
33
35
}
34
36
}
You can’t perform that action at this time.
0 commit comments