chore: fix CI build, update deps, add Dependabot auto-merge + Prettier#87
Merged
Conversation
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.
455b727 to
77fed0e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the failing deploy, refreshes dependencies, and adds the Dependabot + auto-merge + formatting automation requested (modelled on
maintainerr/maintainerr).Build fix
npm ciwas failing in Docusaurus Deploy withMissing: @noble/hashes@2.2.0 from lock file. Re-syncedpackage-lock.jsonwithpackage.json.npm ci,npm run buildnow pass.Dependencies
@docusaurus/core&@docusaurus/preset-classic→^3.10.1,@easyops-cn/docusaurus-search-local→^0.55.2.CI / automation
main(builds the current "next" docs). Release-dispatch behaviour unchanged — version-snapshot steps remain version-gated.20 → 24;actions/checkout+setup-node→v6(matches maintainerrdevelopment).GITHUB_TOKENstays read-only (least privilege).Formatting
format/format:checkscripts) — the trusted formatter that handles.mdand.mdx(markdownlint can't parse MDX). One-time baseline format applied to living content; frozenversioned_docssnapshots and vendored/generated static assets excluded.