Skip to content

build: migrate to pnpm and reusable CI#1991

Merged
markdumay merged 7 commits into
mainfrom
build/pnpm-migration
Jul 9, 2026
Merged

build: migrate to pnpm and reusable CI#1991
markdumay merged 7 commits into
mainfrom
build/pnpm-migration

Conversation

@markdumay

Copy link
Copy Markdown
Collaborator

Migrates the theme to pnpm and the shared reusable CI (gethinode/.github@v1) — reference repo 2/3 of the pnpm migration.

Changes

  • package-lock.jsonpnpm-lock.yaml; packageManager pinned; all scripts + semantic-release config npm → pnpm.
  • Supply-chain hardening: .npmrc (24h minimum-release-age) + pnpm-workspace.yaml (allowBuilds: hugo-extended).
  • PostCSS shim added (postinstall): under pnpm Hugo's postcss spawn fails without it (binary "postcss" is not a Node.js script).
  • CI → thin callers: lint-build/mod-update/auto-merge/release @v1 + new npm-compat smoke; codeql untouched.
  • Already hugo-extended (no hugo-bin swap).

Note for review

Release now routes through the shared release.yml@v1 (org SEMANTIC_RELEASE_GIT PAT via secrets: inherit), matching the module pattern. This drops the old npm audit signatures provenance step — see discussion.

Local gate: pnpm install clean, pnpm lint 0 errors, pnpm build:example 0 errors (96/26/24 pp EN/FR/NL).

@netlify

netlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy Preview for gethinode-demo ready!

Name Link
🔨 Latest commit 0b14c51
🔍 Latest deploy log https://app.netlify.com/projects/gethinode-demo/deploys/6a4fd26420d1420008464a4d
😎 Deploy Preview https://deploy-preview-1991--gethinode-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@markdumay markdumay enabled auto-merge (squash) July 9, 2026 17:06
@markdumay markdumay disabled auto-merge July 9, 2026 17:07
@markdumay markdumay enabled auto-merge (squash) July 9, 2026 17:07
@markdumay markdumay disabled auto-merge July 9, 2026 17:07
@markdumay markdumay merged commit 442776a into main Jul 9, 2026
15 checks passed
@markdumay markdumay deleted the build/pnpm-migration branch July 9, 2026 17:11
@markdumay

Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 2.19.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant