dev: relax pnpm pin (#8189)

This commit is contained in:
Michael Genson authored and GitHub committed 2026-08-23 21:54:37 -05:00
1 parent d8a1ba1aa7
commit 464747a459
6 files changed
+18 -25

No files matched your search

+1 -7
View File
@@ -21,15 +21,9 @@ jobs:
with:
ref: ${{ inputs.ref || github.sha }}
# Work around pnpm/action-setup v6 resolving the wrong version from package.json
# https://github.com/pnpm/action-setup/issues/227
- name: Read pnpm version
id: pnpm-version
run: 'echo "version=$(jq --raw-output ''.packageManager | split("@")[1]'' package.json)" >> "$GITHUB_OUTPUT"'
working-directory: "frontend"
- uses: pnpm/action-setup@v6
with:
version: ${{ steps.pnpm-version.outputs.version }}
version: 11
- name: Setup node env 🏗
uses: actions/setup-node@v6
+1 -6
View File
@@ -11,14 +11,9 @@ jobs:
working-directory: ./tests/e2e
steps:
- uses: actions/checkout@v6
# Work around pnpm/action-setup v6 resolving the wrong version from package.json
# https://github.com/pnpm/action-setup/issues/227
- name: Read pnpm version
id: pnpm-version
run: 'echo "version=$(jq --raw-output ''.packageManager | split("@")[1]'' package.json)" >> "$GITHUB_OUTPUT"'
- uses: pnpm/action-setup@v6
with:
version: ${{ steps.pnpm-version.outputs.version }}
version: 11
- uses: actions/setup-node@v6
with:
node-version: 24
+1 -7
View File
@@ -17,15 +17,9 @@ jobs:
with:
ref: ${{ inputs.ref || github.sha }}
# Work around pnpm/action-setup v6 resolving the wrong version from package.json
# https://github.com/pnpm/action-setup/issues/227
- name: Read pnpm version
id: pnpm-version
run: 'echo "version=$(jq --raw-output ''.packageManager | split("@")[1]'' package.json)" >> "$GITHUB_OUTPUT"'
working-directory: "frontend"
- uses: pnpm/action-setup@v6
with:
version: ${{ steps.pnpm-version.outputs.version }}
version: 11
- name: Setup node env 🏗
uses: actions/setup-node@v6
+1 -3
View File
@@ -4,9 +4,7 @@
FROM node:24@sha256:934240a162082fd8b8a2f90cd5114446443f1eba1c5378f6687167ca405e6584 \
AS frontend-builder
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME/bin:$PATH"
RUN corepack enable
RUN npm install --global pnpm@11
WORKDIR /frontend
+7 -1
View File
@@ -65,7 +65,13 @@
"vite-plugin-commonjs": "^0.10.4",
"vitest": "^4.0.0"
},
"packageManager": "pnpm@11.18.0",
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "11",
"onFail": "warn"
}
},
"resolutions": {
"js-yaml": ">=4.1.1",
"node-forge": ">=1.3.2"
+7 -1
View File
@@ -8,5 +8,11 @@
"@types/node": "^24.12.4"
},
"scripts": {},
"packageManager": "pnpm@11.18.0"
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "11",
"onFail": "warn"
}
}
}