commit 77b67c9d5917d517bd9c81a3d961bf1402990213
parent beb1c4b1edffe7dd8e88d3685d11933bc8bcee2c
Author: iostpa <iostpa@iostpa.com>
Date: Wed, 29 Jul 2026 11:48:56 +0300
fix: let pnpm install node.js
Diffstat:
3 files changed, 135 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -1,6 +1,6 @@
FROM ghcr.io/pnpm/pnpm:11
-RUN pnpm runtime set node 26 -g
WORKDIR /app
+COPY package.json pnpm-lock.yaml ./
+RUN pnpm install --frozen-lockfile
COPY . .
-RUN pnpm install
CMD ["pnpm", "run", "server"]
diff --git a/package.json b/package.json
@@ -29,5 +29,12 @@
"fastify": "^5.10.0",
"mariadb": "^3.5.3",
"octokit": "^5.0.5"
+ },
+ "devEngines": {
+ "runtime": {
+ "name": "node",
+ "version": "24.x",
+ "onFail": "download"
+ }
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
@@ -51,6 +51,9 @@ importers:
globals:
specifier: ^17.8.0
version: 17.8.0
+ node:
+ specifier: runtime:24.x
+ version: runtime:24.18.0
prettier:
specifier: 3.9.6
version: 3.9.6
@@ -687,6 +690,127 @@ packages:
resolution: {integrity: sha512-ekZMeaaIzSQTSpr7X2X3iJM7lTzgnx8ahAG9pJfT/7+14mlEM8ZYQ9cgCDvSSRbReFK0oHli3WrZdCiRsgAT9Q==}
engines: {node: ^18 || ^20 || >= 21}
+ node@runtime:24.18.0:
+ resolution:
+ type: variations
+ variants:
+ - resolution:
+ archive: tarball
+ bin:
+ node: bin/node
+ integrity: sha256-ZGOiNzn2sjAOvsXM1gJ14TjjhY/Br8bo+bxOT2pLdvo=
+ type: binary
+ url: https://nodejs.org/download/release/v24.18.0/node-v24.18.0-aix-ppc64.tar.gz
+ targets:
+ - cpu: ppc64
+ os: aix
+ - resolution:
+ archive: tarball
+ bin:
+ node: bin/node
+ integrity: sha256-4al+FMmcgD6WxzOUAyguoFpJnDL42D3v6e9exm+XntE=
+ type: binary
+ url: https://nodejs.org/download/release/v24.18.0/node-v24.18.0-darwin-arm64.tar.gz
+ targets:
+ - cpu: arm64
+ os: darwin
+ - resolution:
+ archive: tarball
+ bin:
+ node: bin/node
+ integrity: sha256-39Db0+chUDQ033tyBecZ9hs6OjGyvPlym4uR/qJA8IA=
+ type: binary
+ url: https://nodejs.org/download/release/v24.18.0/node-v24.18.0-darwin-x64.tar.gz
+ targets:
+ - cpu: x64
+ os: darwin
+ - resolution:
+ archive: tarball
+ bin:
+ node: bin/node
+ integrity: sha256-a0SEwhkCdBdd+aqPKOLXWKgZyxwf5qtIHi+VtGOrhQg=
+ type: binary
+ url: https://nodejs.org/download/release/v24.18.0/node-v24.18.0-linux-arm64.tar.gz
+ targets:
+ - cpu: arm64
+ os: linux
+ - resolution:
+ archive: tarball
+ bin:
+ node: bin/node
+ integrity: sha256-/hM4ly95KDxrwh5h2/RXa76MBa3tKZnUHIZDrTAmUUI=
+ type: binary
+ url: https://nodejs.org/download/release/v24.18.0/node-v24.18.0-linux-ppc64le.tar.gz
+ targets:
+ - cpu: ppc64le
+ os: linux
+ - resolution:
+ archive: tarball
+ bin:
+ node: bin/node
+ integrity: sha256-Nx68E5RfwWlJPnUvLdr6+rbs2My0Ubz/RuCfacXdjHo=
+ type: binary
+ url: https://nodejs.org/download/release/v24.18.0/node-v24.18.0-linux-s390x.tar.gz
+ targets:
+ - cpu: s390x
+ os: linux
+ - resolution:
+ archive: tarball
+ bin:
+ node: bin/node
+ integrity: sha256-eDEwmElj23upy9AQierywu+wVcfBaTyUMXS5Z7MFDLg=
+ type: binary
+ url: https://nodejs.org/download/release/v24.18.0/node-v24.18.0-linux-x64.tar.gz
+ targets:
+ - cpu: x64
+ os: linux
+ - resolution:
+ archive: zip
+ bin:
+ node: node.exe
+ integrity: sha256-8nRmmtuTsf0Pv48h/QeGCencyEMz1PJxjS3eP5oWGgE=
+ prefix: node-v24.18.0-win-arm64
+ type: binary
+ url: https://nodejs.org/download/release/v24.18.0/node-v24.18.0-win-arm64.zip
+ targets:
+ - cpu: arm64
+ os: win32
+ - resolution:
+ archive: zip
+ bin:
+ node: node.exe
+ integrity: sha256-CuaEBrQtdyVmHal5sUA+yZJtogXGdwgn8zqsnY8m6CE=
+ prefix: node-v24.18.0-win-x64
+ type: binary
+ url: https://nodejs.org/download/release/v24.18.0/node-v24.18.0-win-x64.zip
+ targets:
+ - cpu: x64
+ os: win32
+ - resolution:
+ archive: tarball
+ bin:
+ node: bin/node
+ integrity: sha256-scbC3DG0bdj7IyL0/nWwfndcUSC8NyUd7uoo9SnUVns=
+ type: binary
+ url: https://unofficial-builds.nodejs.org/download/release/v24.18.0/node-v24.18.0-linux-arm64-musl.tar.gz
+ targets:
+ - cpu: arm64
+ os: linux
+ libc: musl
+ - resolution:
+ archive: tarball
+ bin:
+ node: bin/node
+ integrity: sha256-6lhAmRHhQexrGdkXjvotkYWhMpUAWxy/VSGzFX7tHZU=
+ type: binary
+ url: https://unofficial-builds.nodejs.org/download/release/v24.18.0/node-v24.18.0-linux-x64-musl.tar.gz
+ targets:
+ - cpu: x64
+ os: linux
+ libc: musl
+ version: 24.18.0
+ hasBin: true
+
octokit@5.0.5:
resolution: {integrity: sha512-4+/OFSqOjoyULo7eN7EA97DE0Xydj/PW5aIckxqQIoFjFwqXKuFCvXUJObyJfBF9Khu4RL/jlDRI9FPaMGfPnw==}
engines: {node: '>= 20'}
@@ -1552,6 +1676,8 @@ snapshots:
node-addon-api@8.9.0: {}
+ node@runtime:24.18.0: {}
+
octokit@5.0.5:
dependencies:
'@octokit/app': 16.1.2