Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0d47e1

Browse files
authored
ci: check module graph of example scripts (denoland#1172)
1 parent 8c87ace commit d0d47e1

4 files changed

Lines changed: 450 additions & 28 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ jobs:
1313
- uses: denoland/setup-deno@v2
1414

1515
- run: deno fmt --check
16+
- run: deno task test

deno.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"@std/fs": "jsr:@std/fs@^0.229.3",
77
"@std/html": "jsr:@std/html@^1.0.3",
88
"@std/media-types": "jsr:@std/media-types@^1.0.3",
9+
"@std/path": "jsr:@std/path@^1.0.8",
910
"ga4": "https://raw.githubusercontent.com/denoland/ga4/04a1ce209116f158b5ef1658b957bdb109db68ed/mod.ts",
1011
"lume/": "https://deno.land/x/[email protected]/",
1112
"@orama/wc-components/": "https://unpkg.com/@orama/[email protected]/",
@@ -18,7 +19,8 @@
1819
"debug": "deno task build && deno task prod",
1920
"prod": "cd _site && deno run --allow-read --allow-env --allow-net server.ts",
2021
"reference": "cd reference_gen && deno task types && deno task doc",
21-
"lume": "echo \"import 'lume/cli.ts'\" | deno run -A -"
22+
"lume": "echo \"import 'lume/cli.ts'\" | deno run -A -",
23+
"test": "deno test -A"
2224
},
2325
"compilerOptions": {
2426
"types": [
@@ -27,6 +29,11 @@
2729
"jsx": "precompile",
2830
"jsxImportSource": "npm:preact"
2931
},
32+
"test": {
33+
"exclude": [
34+
"middleware"
35+
]
36+
},
3037
"exclude": [
3138
"_site",
3239
"reference_gen"

0 commit comments

Comments
 (0)