Skip to content

chore: fix CI build, update deps, add Dependabot auto-merge + Prettier#87

Merged
enoch85 merged 1 commit into
mainfrom
chore/deps-ci-dependabot-prettier
Jun 5, 2026
Merged

chore: fix CI build, update deps, add Dependabot auto-merge + Prettier#87
enoch85 merged 1 commit into
mainfrom
chore/deps-ci-dependabot-prettier

Conversation

@enoch85

@enoch85 enoch85 commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes the failing deploy, refreshes dependencies, and adds the Dependabot + auto-merge + formatting automation requested (modelled on maintainerr/maintainerr).

Build fix

  • npm ci was failing in Docusaurus Deploy with Missing: @noble/hashes@2.2.0 from lock file. Re-synced package-lock.json with package.json. npm ci, npm run build now pass.

Dependencies

  • @docusaurus/core & @docusaurus/preset-classic^3.10.1, @easyops-cn/docusaurus-search-local^0.55.2.

CI / automation

  • Deploy on every push to main (builds the current "next" docs). Release-dispatch behaviour unchanged — version-snapshot steps remain version-gated.
  • Node 20 → 24; actions/checkout + setup-nodev6 (matches maintainerr development).
  • Dependabot — weekly npm + weekly github-actions, Docusaurus packages grouped.
  • Dependabot auto-merge — approves + squash-merges non-major bumps once required checks pass. Uses the existing DOCS app token; the workflow's own GITHUB_TOKEN stays read-only (least privilege).
  • PR Build + Formatting checks added for auto-merge to gate on.

Formatting

  • Prettier added (config, ignore, format / format:check scripts) — the trusted formatter that handles .md and .mdx (markdownlint can't parse MDX). One-time baseline format applied to living content; frozen versioned_docs snapshots and vendored/generated static assets excluded.

Build fix
- Sync package-lock.json with package.json so `npm ci` works again
  (CI was failing on "Missing: @noble/hashes@2.2.0 from lock file").

Dependencies
- Bump @docusaurus/core & preset-classic to ^3.10.1, search-local to ^0.55.2.

CI / automation
- Deploy on every push to main (builds the current "next" docs); release
  dispatch behaviour unchanged (version-snapshot steps stay version-gated).
- Bump node 20 -> 24 and actions/checkout + setup-node to v6, matching
  the maintainerr/maintainerr development workflows.
- Add Dependabot (weekly npm, weekly github-actions; Docusaurus grouped).
- Add Dependabot auto-merge: approves + squash-merges non-major bumps once
  required checks pass. Uses the existing DOCS app token; the workflow's own
  GITHUB_TOKEN stays read-only (least privilege).
- Add PR Build + Formatting (Prettier) checks for auto-merge to gate on.

Formatting
- Add Prettier (config + ignore + format/format:check scripts) and apply a
  one-time baseline format to living content. Frozen versioned_docs snapshots
  and vendored/generated static assets are excluded.
@enoch85 enoch85 force-pushed the chore/deps-ci-dependabot-prettier branch from 455b727 to 77fed0e Compare June 5, 2026 21:46
@enoch85 enoch85 merged commit c26f117 into main Jun 5, 2026
2 checks passed
@enoch85 enoch85 deleted the chore/deps-ci-dependabot-prettier branch June 5, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant