Repository navigation
chore: Run Node tools through pnpm - #479
Merged
Merged
Conversation
The a11y workflow installs pa11y-ci with pnpm/setup and pnpm add instead of a global npm install and npx, and the markdown lint tasks use pnpm dlx. Claude-Session: https://claude.ai/code/session_01473KakwQy99oSL4qNbnACv
DaveSkender
marked this pull request as ready for review
November 28, 2026 01:23
|
|
There was a problem hiding this comment.
One finding: the VS Code markdown-lint tasks now need pnpm, which the dev container deliberately does not install.
The workflow change checks out: pnpm/setup@v3 accepts version, runtime and install, pnpm 12.23.0 is released, and a local pnpm add pa11y-ci pa11y --allow-build=puppeteer installed both pa11y and pa11y-ci bins with puppeteer as the only build script needing approval. The workflow's own run on this pull request is the end-to-end check of the Chrome download and the pa11y-ci step.
🤖 Prompt for AI Agents (all)
Validate findings against the current codebase and fix confirmed issues. Use live analysis to confirm or refute each; do not rely on prior memory. Reply succinctly to each review comment with disposition and rationale.
In `.vscode/tasks.json`:
- Around line 89 and 97: the tasks "Lint: Markdown files" and
"Lint: Markdown files (fix)" run `pnpm dlx markdownlint-cli2`. Confirm that
`.devcontainer/devcontainer.json` sets `"pnpmVersion": "none"` for the node
feature, so pnpm is absent in the dev container. If confirmed, set
`pnpmVersion` to `latest` (or a pinned version) there.
Reviewed by the FaciōQuō swarm
The markdown lint tasks run pnpm dlx, so the node feature installs pnpm 12.23.0 instead of none. Claude-Session: https://claude.ai/code/session_01473KakwQy99oSL4qNbnACv
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.
Requested by Dave · project thread
Summary
Maintenance to match the repository-automation rule that every Node.js command runs through pnpm.
test-website-a11y.ymlsets up pnpm and Node.js withpnpm/setup@v3and installspa11y-ciandpa11ywithpnpm addinto a temporary directory onPATH, replacingnpm install -gandnpx pa11y.pnpm dlx markdownlint-cli2instead ofnpx.Assumptions
package.json, so the setup step names pnpm12.23.0andnode@ltsitself.--allow-build=puppeteerlets Puppeteer's install script download the browser, since pnpm blocks dependency build scripts by default.Verification
https://claude.ai/code/session_01473KakwQy99oSL4qNbnACv
Generated by Claude Code