Sign inSign up
node-ci logo

stden/node-ci

By stden

•Updated 1 day ago

Build and test JavaScript and TypeScript projects in CI with Node.js, npm, pnpm, and Bun.

Image
Languages & frameworks
Integration & delivery
Developer tools
0

261

stden/node-ci repository overview

⁠stden/node-ci

Build and test JavaScript and TypeScript projects in CI with Node.js, npm, pnpm, and Bun.

⁠What you learn

You learn to run the package managers of a JavaScript project in a Docker container.

⁠Overview

This image runs JavaScript and TypeScript projects on a computer or in a CI job. It contains:

  • Node.js and npm, from the official node:slim⁠ image.
  • pnpm⁠ and Bun⁠, installed with npm.
  • git, which reads the history of a mounted repository.

The working directory is /workspace. The default command starts Bash.

⁠Run the image

Install the dependencies of a project in /workspace and run its start script:

docker run --rm -v "$PWD":/workspace -w /workspace stden/node-ci bash -c 'npm ci && npm start'

Tag summary

Content type

Image

Digest

sha256:f65929b0b…

Size

195.6 MB

Last updated

1 day ago

docker pull stden/node-ci