Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .github/workflows/ci.yml

This file was deleted.

29 changes: 6 additions & 23 deletions .github/workflows/deploy.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Deploy
name: Lint
on:
push:
branches: main
pull_request:
branches: main

jobs:
deploy:
name: Deploy
lint:
name: lint and link check
runs-on: ubuntu-22.04-xl
permissions:
id-token: write # Needed for auth with Deno Deploy
Expand All @@ -22,6 +22,9 @@ jobs:
with:
cache: true

- run: deno fmt --check
- run: deno task test

- name: "Reference: install"
working-directory: "reference_gen"
run: deno install
Expand All @@ -41,30 +44,10 @@ jobs:
ORAMA_PRIVATE_API_KEY: ${{ secrets.ORAMA_PRIVATE_API_KEY }}
run: deno task build

- name: Generate search index (Orama upload disabled)
env:
ORAMA_PROJECT_ID: ${{ vars.ORAMA_PROJECT_ID }}
ORAMA_DATASOURCE_ID: ${{ vars.ORAMA_DATASOURCE_ID }}
ORAMA_PRIVATE_API_KEY: ${{ secrets.ORAMA_PRIVATE_API_KEY }}
run: |
echo "Generating search index..."
deno task generate:search
echo "Skipping upload of search index to Orama Cloud (temporarily disabled)."
# NOTE: Temporarily disabling Orama upload.
# To re-enable, uncomment the next line:
# deno task search:upload

- name: Run server
run: deno run --allow-read=. --allow-net --allow-env --lock=deno.lock server.ts &

- name: Link checker
env:
DOCS_ROOT: "http://localhost:8000"
run: deno run --no-lock --allow-net --allow-env .github/workflows/better_link_checker.ts

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "deno-docs"
entrypoint: "server.ts"
root: "."
5 changes: 0 additions & 5 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,12 @@
},
"tasks": {
"dev": "LUME_LOGS=WARN deno run --env-file -A lume.ts -s",
"dev:std": "deno task generate:std-docs && LUME_LOGS=WARN deno run --env-file -A lume.ts -s",
"serve": "deno task dev",
"serve:style": "BUILD_TYPE=FULL deno task lume -s --config=_config-styleguide.ts",
"start": "deno task dev",
"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",
"build:light": "deno run --env-file -A lume.ts",
"prod": "deno run --allow-read --allow-env --allow-net server.ts",
"test": "deno test -A",
"check:links": "deno run --no-lock --allow-net --allow-env .github/workflows/better_link_checker.ts",
"check:links:local": "deno run --allow-net --allow-env check_links_local.ts",
"install:hooks": "bash scripts/install-pre-commit-hook.sh",
"lint:update": "deno run -A update_lint_rules.ts",
"generate:search": "deno run -A orama/generate_orama_index_full.ts",
"generate:search:docs-only": "deno run -A orama/generate.ts",
Expand Down
1 change: 0 additions & 1 deletion runtime/reference/std/log.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ stability: unstable

The @std/log package is likely to be removed in the future; consider using
[OpenTelemetry](/runtime/fundamentals/open_telemetry/) for production systems.
bump.

:::