diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index f2765993d..000000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: CI -on: - push: - branches: [main] - pull_request: - branches: [main] -jobs: - build: - runs-on: ubuntu-latest - timeout-minutes: 10 - steps: - - uses: actions/checkout@v4 - - uses: denoland/setup-deno@v2 - with: - cache: true - deno-version: canary - - - run: deno fmt --check - - run: deno task test diff --git a/.github/workflows/deploy.yml b/.github/workflows/lint.yml similarity index 61% rename from .github/workflows/deploy.yml rename to .github/workflows/lint.yml index 3b9c51a5b..b28bb5495 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/lint.yml @@ -1,4 +1,4 @@ -name: Deploy +name: Lint on: push: branches: main @@ -6,8 +6,8 @@ on: 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 @@ -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 @@ -41,19 +44,6 @@ 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 & @@ -61,10 +51,3 @@ jobs: 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: "." diff --git a/deno.json b/deno.json index 1eea46765..ae7ef3f19 100644 --- a/deno.json +++ b/deno.json @@ -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", diff --git a/runtime/reference/std/log.md b/runtime/reference/std/log.md index da8d9e248..e6a9befee 100644 --- a/runtime/reference/std/log.md +++ b/runtime/reference/std/log.md @@ -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. :::