diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e3f13a..a829cfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,8 +104,11 @@ jobs: name: dist path: dist # Serves dist and fails below 95 in any category (lighthouserc.json), using - # the runner's Chrome. + # the runner's Chrome. pnpm 11 installs before it runs a script when + # node_modules is missing. This job needs none, so it skips that. - run: pnpm lighthouse + env: + pnpm_config_verify_deps_before_run: "false" - if: ${{ !cancelled() }} uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: diff --git a/package.json b/package.json index 356900b..fb86a58 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "open-components", "type": "module", "private": true, - "packageManager": "pnpm@10.33.4", + "packageManager": "pnpm@11.25.0", "scripts": { "build": "node scripts/fetch-history.mjs && nuxt generate", "build:mcp": "nuxt build mcp", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index b4e2884..d82fe00 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -3,6 +3,9 @@ allowBuilds: # built-in node:sqlite, so the native binding is never built. better-sqlite3: false esbuild: true + # Comes in through ipx, nuxt-og-image and miniflare, which use its prebuilt + # binaries. pnpm installs those as optional dependencies, so it needs no build. + sharp: false # Its postinstall only switches the build to Vue 2; the default build is Vue 3's. vue-demi: false # Wrangler's runtime, for `wrangler dev`. Its postinstall only checks for the