Skip to content

Commit 20fb619

Browse files
Merge branch 'main' into classic-updates
2 parents bda8058 + d03bedd commit 20fb619

File tree

13 files changed

+903
-746
lines changed

13 files changed

+903
-746
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: Deploy
1+
name: Lint
22
on:
33
push:
44
branches: main
55
pull_request:
66
branches: main
77

88
jobs:
9-
deploy:
10-
name: Deploy
9+
lint:
10+
name: lint and link check
1111
runs-on: ubuntu-22.04-xl
1212
permissions:
1313
id-token: write # Needed for auth with Deno Deploy
@@ -22,6 +22,9 @@ jobs:
2222
with:
2323
cache: true
2424

25+
- run: deno fmt --check
26+
- run: deno task test
27+
2528
- name: "Reference: install"
2629
working-directory: "reference_gen"
2730
run: deno install
@@ -41,30 +44,10 @@ jobs:
4144
ORAMA_PRIVATE_API_KEY: ${{ secrets.ORAMA_PRIVATE_API_KEY }}
4245
run: deno task build
4346

44-
- name: Generate search index (Orama upload disabled)
45-
env:
46-
ORAMA_PROJECT_ID: ${{ vars.ORAMA_PROJECT_ID }}
47-
ORAMA_DATASOURCE_ID: ${{ vars.ORAMA_DATASOURCE_ID }}
48-
ORAMA_PRIVATE_API_KEY: ${{ secrets.ORAMA_PRIVATE_API_KEY }}
49-
run: |
50-
echo "Generating search index..."
51-
deno task generate:search
52-
echo "Skipping upload of search index to Orama Cloud (temporarily disabled)."
53-
# NOTE: Temporarily disabling Orama upload.
54-
# To re-enable, uncomment the next line:
55-
# deno task search:upload
56-
5747
- name: Run server
5848
run: deno run --allow-read=. --allow-net --allow-env --lock=deno.lock server.ts &
5949

6050
- name: Link checker
6151
env:
6252
DOCS_ROOT: "http://localhost:8000"
6353
run: deno run --no-lock --allow-net --allow-env .github/workflows/better_link_checker.ts
64-
65-
- name: Upload to Deno Deploy
66-
uses: denoland/deployctl@v1
67-
with:
68-
project: "deno-docs"
69-
entrypoint: "server.ts"
70-
root: "."

deno.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@tailwindcss/cli": "npm:@tailwindcss/cli@^4.1.11",
1212
"@tailwindcss/postcss": "npm:@tailwindcss/postcss@^4.1.11",
1313
"ga4": "https://raw.githubusercontent.com/denoland/ga4/04a1ce209116f158b5ef1658b957bdb109db68ed/mod.ts",
14-
"lume/": "https://deno.land/x/lume@v2.4.1/",
14+
"lume/": "https://deno.land/x/lume@v2.5.4/",
1515
"googleapis": "npm:googleapis@^144.0.0",
1616
"postcss": "npm:postcss@^8.5.6",
1717
"prismjs": "npm:[email protected]",
@@ -22,17 +22,12 @@
2222
},
2323
"tasks": {
2424
"dev": "LUME_LOGS=WARN deno run --env-file -A lume.ts -s",
25-
"dev:std": "deno task generate:std-docs && LUME_LOGS=WARN deno run --env-file -A lume.ts -s",
2625
"serve": "deno task dev",
27-
"serve:style": "BUILD_TYPE=FULL deno task lume -s --config=_config-styleguide.ts",
2826
"start": "deno task dev",
2927
"build": "deno task generate:reference && deno task generate:std-docs && BUILD_TYPE=FULL deno run --env-file -A --v8-flags=--max-old-space-size=4096 lume.ts && tailwindcss -i styles.css -o _site/styles.css --minify",
30-
"build:light": "deno run --env-file -A lume.ts",
3128
"prod": "deno run --allow-read --allow-env --allow-net server.ts",
3229
"test": "deno test -A",
3330
"check:links": "deno run --no-lock --allow-net --allow-env .github/workflows/better_link_checker.ts",
34-
"check:links:local": "deno run --allow-net --allow-env check_links_local.ts",
35-
"install:hooks": "bash scripts/install-pre-commit-hook.sh",
3631
"lint:update": "deno run -A update_lint_rules.ts",
3732
"generate:search": "deno run -A orama/generate_orama_index_full.ts",
3833
"generate:search:docs-only": "deno run -A orama/generate.ts",

0 commit comments

Comments
 (0)