A collection of reusable WebAssembly modules for building composable CI/CD pipelines with FluentCI
README.md

Node.js #

Set up Node.js from FluentCI using PureScript compiled to WebAssembly.

Platforms #

Linux, macOS, FreeBSD, OpenBSD, and NetBSD. Linux/macOS use upstream downloads; BSD uses the native repository and requires an available package for your OS and architecture.

Official Node.js archives, including npm and npx. Select an exact release, latest, or lts. Linux archives require a compatible glibc system.

Usage #

fluentci run node setup 22.14.0

Omit the version to use the default. The setup export also accepts a JSON object as plugin input:

{
  "version": "22.14.0"
}

See the shared setup guide for configuration, prerequisites, installation paths, native BSD package selectors, privileges, and output format. After installation, setup verifies the runtime version and updates PATH in the FluentCI engine for later steps.

Compose in PureScript #

module Main where

import Prelude
import CI.Setup.Node as Runtime
import Effect (Effect)

bootstrap :: Effect Unit
bootstrap = void (Runtime.setupWith (Runtime.defaultConfig { version = "22.14.0" }))

Development #

Keep the checked-in lib/setup library and test/setup fixtures available, then run from this directory:

npm ci
npm run build
npm test

The build produces dist/plugin.wasm. See the shared guide for optional live upstream smoke tests and the limits of stub-host BSD verification.

License #

MIT.