Skip to content

Standardize pnpm CI pattern: action-setup@v6.0.8 before setup-node with cache: pnpm#14764

Merged
rtibbles merged 1 commit into
learningequality:developfrom
rtibblesbot:issue-14763-39b5ed
May 27, 2026
Merged

Standardize pnpm CI pattern: action-setup@v6.0.8 before setup-node with cache: pnpm#14764
rtibbles merged 1 commit into
learningequality:developfrom
rtibblesbot:issue-14763-39b5ed

Conversation

@rtibblesbot
Copy link
Copy Markdown
Contributor

@rtibblesbot rtibblesbot commented May 26, 2026

Plan: Update all affected GitHub Actions frontend workflows to use the canonical pnpm CI pattern — pnpm/action-setup@v6.0.8 running before actions/setup-node with cache: 'pnpm'.

  • Update frontend-tests.yml
  • Update pre-commit.yml
  • Update check_licenses.yml
  • Update build_whl.yml
  • Update i18n-download.yml
  • Update i18n-upload.yml
  • Update update_h5p.yml
  • Final verification and commit

status

Summary

Standardizes the pnpm CI setup across all 7 affected frontend workflows: pnpm/action-setup@v6.0.8 runs first, followed by actions/setup-node with cache: 'pnpm'.

Fixes a v6.0.3 regression where pnpm/action-setup installs pnpm 11 instead of the pinned version when run before setup-node on a runner with Node ≥22.

References

Fixes #14763

See also: learningequality/studio#5939 — same fix applied to Studio

Reviewer guidance

Verify CI passes without any job logging This version of pnpm requires at least Node.js v22.13. On a subsequent run, the pnpm store cache should show a cache hit.

npm_publish.yml is intentionally unchanged — it runs on Node 24 without pnpm caching and is out of scope.

AI usage

Used Claude Code to implement the changes following a pre-approved plan, verifying each file with grep to confirm the old pattern was fully replaced.


@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly

How was this generated?
  • Ran pre-flight CI checks (lint, format, tests) and verified all pass
  • Rebased onto the target branch and resolved any conflicts
  • Reorganized commit history into clean, logical commits
  • Audited the diff to ensure only issue-relevant files are changed
  • Built PR body from the repository's PR template with evidence blocks

…th cache: pnpm

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added DEV: dev-ops Continuous integration & deployment SIZE: small labels May 26, 2026
@rtibblesbot rtibblesbot marked this pull request as ready for review May 26, 2026 21:25
@rtibbles rtibbles merged commit d02d3b9 into learningequality:develop May 27, 2026
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DEV: dev-ops Continuous integration & deployment SIZE: small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standardize pnpm setup in CI workflows and upgrade pnpm/action-setup to v6.0.8

2 participants