Skip to content

chore: Run Node tools through pnpm - #479

Merged
DaveSkender merged 2 commits into
mainfrom
claude/project-thread-ffbau6
Nov 28, 2026
Merged

DaveSkender merged 2 commits into
mainfrom
claude/project-thread-ffbau6

Conversation

@DaveSkender

Copy link
Copy Markdown
Member

Requested by Dave · project thread

Summary

Maintenance to match the repository-automation rule that every Node.js command runs through pnpm.

  • test-website-a11y.yml sets up pnpm and Node.js with pnpm/setup@v3 and installs pa11y-ci and pa11y with pnpm add into a temporary directory on PATH, replacing npm install -g and npx pa11y.
  • The markdown lint VS Code tasks use pnpm dlx markdownlint-cli2 instead of npx.

Assumptions

  • The repository has no package.json, so the setup step names pnpm 12.23.0 and node@lts itself.
  • --allow-build=puppeteer lets Puppeteer's install script download the browser, since pnpm blocks dependency build scripts by default.

Verification

  • actionlint is clean. The workflow runs on this pull request because it changes the workflow file.

https://claude.ai/code/session_01473KakwQy99oSL4qNbnACv


Generated by Claude Code

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 DaveSkender self-assigned this Nov 28, 2026
@DaveSkender
DaveSkender marked this pull request as ready for review November 28, 2026 01:23
@facioquoqa

facioquoqa Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

:neckbeard: FaciōQuōqa Mage code review was completed with comments.

  • Trigger re-review
    Last reviewed at 1f94b4a; head is now fe1d940. Request review to cover.

@facioquoqa facioquoqa Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread .vscode/tasks.json Resolved
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
@DaveSkender
DaveSkender merged commit 9e85bc0 into main Nov 28, 2026
18 checks passed
@DaveSkender
DaveSkender deleted the claude/project-thread-ffbau6 branch November 28, 2026 03:23
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