/docker-fnm

Fast Node Manager dockerised for CI usage

Primary LanguageShellMIT LicenseMIT

Docker FNM

Fast Node Manager dockerised for CI or other edge usages.

Available in Docker Hub ci

Getting starter

Imagine that you simply have a .node-version file with 14 on its content, so your project will be constrained by this NodeJS version, and therefore this Docker container will automatically use this version (but it's not limited to, as it wraps FNM: read more here).

Standalone

docker run --rm -v $PWD/myapp:/work d8vjork/fnm fnm --help

Gitlab CI

build_publish:
  image: d8vjork/fnm
  script:
    - yarn install
    - yarn build
    - npm version --allow-same-version ${CI_COMMIT_TAG}
    - npm publish
    # More here... maybe?