diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 57be84743..ca14f37f7 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@2752ce1d29631191ea3f27c23495fa06139a5b78 # v3.2.1 with: - hugo-version: '0.165.0' + hugo-version: '0.166.0' extended: true - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e513a681f..be7f5c082 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -34,3 +34,9 @@ minimumReleaseAgeExclude: # find that script; it understands a symlink but not pnpm's shim, and # otherwise fails with `binary "tailwindcss" is not a Node.js script`. preferSymlinkedExecutables: true + +# Lay out node_modules flat and without symlinks, like npm does. We mount +# several node_modules packages into assets/, and Hugo (0.166+) drops any +# mount whose source path goes through a symlink; pnpm's default isolated +# layout links every package via node_modules/.pnpm/. +nodeLinker: hoisted