Skip to content

Commit

Permalink
ci: check module graph of example scripts (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k authored Nov 21, 2024
1 parent 8c87ace commit d0d47e1
Show file tree
Hide file tree
Showing 4 changed files with 450 additions and 28 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ jobs:
- uses: denoland/setup-deno@v2

- run: deno fmt --check
- run: deno task test
9 changes: 8 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@std/fs": "jsr:@std/fs@^0.229.3",
"@std/html": "jsr:@std/html@^1.0.3",
"@std/media-types": "jsr:@std/media-types@^1.0.3",
"@std/path": "jsr:@std/path@^1.0.8",
"ga4": "https://raw.githubusercontent.com/denoland/ga4/04a1ce209116f158b5ef1658b957bdb109db68ed/mod.ts",
"lume/": "https://deno.land/x/[email protected]/",
"@orama/wc-components/": "https://unpkg.com/@orama/[email protected]/",
Expand All @@ -18,7 +19,8 @@
"debug": "deno task build && deno task prod",
"prod": "cd _site && deno run --allow-read --allow-env --allow-net server.ts",
"reference": "cd reference_gen && deno task types && deno task doc",
"lume": "echo \"import 'lume/cli.ts'\" | deno run -A -"
"lume": "echo \"import 'lume/cli.ts'\" | deno run -A -",
"test": "deno test -A"
},
"compilerOptions": {
"types": [
Expand All @@ -27,6 +29,11 @@
"jsx": "precompile",
"jsxImportSource": "npm:preact"
},
"test": {
"exclude": [
"middleware"
]
},
"exclude": [
"_site",
"reference_gen"
Expand Down
Loading

0 comments on commit d0d47e1

Please sign in to comment.