Skip to content

Build environment

Builds run in a Linux container, one per build, destroyed when the build ends.

System and tools

SystemDebian 12 (bookworm), x86-64
Node.js24, with NODE_OPTIONS=--dns-result-order=ipv4first (a NODE_OPTIONS build variable of yours is added after it)
Package managersnpm, pnpm and Yarn (through Corepack), Bun
Other toolsgit

Corepack honors the packageManager field of your package.json, so a pinned pnpm or Yarn version is the one used.

Network access

A build can only reach:

  • registry.npmjs.org and registry.yarnpkg.com;
  • github.com, codeload.github.com and objects.githubusercontent.com;
  • nodejs.org.

Anything else fails to connect. In practice:

  • Private registries (a company npm mirror, GitHub Packages) aren't reachable yet.
  • A build step that calls an API (fetching content from a CMS at build time, uploading source maps) fails. Do it at runtime, or before deploying.
  • Dependencies that download a binary on install from another host fail. Most publish their binaries to npm, which works.

Resources

CPU, memory and disk are your build machine's. A build that runs out of memory is stopped, usually with a Killed or JavaScript heap out of memory line: pick a bigger machine.

Each build has a time limit, set by your plan:

FreeStandardProPlatformEnterprise
Build timeout10 min20 min30 min15 min45 min

Environment variables

The install and build commands get your project's build variables, the deployment's own (--build-env), and Hiraiship's system variables. Runtime-only variables and secrets are never set. The Preparing step's log lists the keys the build got, never their values.