javi-forge 1.21.1 → 1.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ci-local/ci-local.ps1
CHANGED
|
@@ -185,7 +185,7 @@ ENTRYPOINT ["/bin/bash", "-c"]
|
|
|
185
185
|
@'
|
|
186
186
|
FROM node:22-slim@sha256:689c11043dad91472750cd824c97dd5e2318e9dd6f954e492fe7af0135d33ceb
|
|
187
187
|
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
|
188
|
-
RUN npm install -g pnpm
|
|
188
|
+
RUN npm install -g pnpm@10
|
|
189
189
|
RUN useradd -m -s /bin/bash runner
|
|
190
190
|
USER runner
|
|
191
191
|
WORKDIR /home/runner/work
|
package/ci-local/ci-local.sh
CHANGED
|
@@ -182,7 +182,7 @@ DOCKERFILE
|
|
|
182
182
|
cat > "$docker_dir/$DOCKERFILE" << 'DOCKERFILE'
|
|
183
183
|
FROM node:22-slim@sha256:689c11043dad91472750cd824c97dd5e2318e9dd6f954e492fe7af0135d33ceb
|
|
184
184
|
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
|
185
|
-
RUN npm install -g pnpm
|
|
185
|
+
RUN npm install -g pnpm@10
|
|
186
186
|
RUN useradd -m -s /bin/bash runner
|
|
187
187
|
USER runner
|
|
188
188
|
WORKDIR /home/runner/work
|
package/dist/lib/docker.js
CHANGED
|
@@ -40,7 +40,10 @@ export function getDockerfileContent(stack) {
|
|
|
40
40
|
return [
|
|
41
41
|
"FROM node:22-slim",
|
|
42
42
|
"RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*",
|
|
43
|
-
|
|
43
|
+
// Pin pnpm to major 10 to match ci.yml (pnpm/action-setup version:
|
|
44
|
+
// 10) and the lockfileVersion 9.0 lockfile. Unpinned drifts to
|
|
45
|
+
// pnpm 11, breaking the frozen install with LOCKFILE_CONFIG_MISMATCH.
|
|
46
|
+
"RUN npm install -g pnpm@10",
|
|
44
47
|
"RUN useradd -m -s /bin/bash runner",
|
|
45
48
|
"USER runner",
|
|
46
49
|
"WORKDIR /home/runner/work",
|