Skip to content
Sample project to build with multiple Node.js versions in CircleCI 2.0
Branch: npm
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
test
README.md
package-lock.json build: update devDeps Jan 30, 2019
package.json

README.md

circleci2-multiple-node-versions

Sample project to build with multiple Node.js versions in CircleCI 2.1!

build status Node.js Version Support

Branches

Note: npm and npm-with-test-report uses package-lock.json introduced by npm@5. So the lock file is ignored in npm@3 and 4 (v6 bundles npm@3 by default).

How to use

  1. Copy .circleci/config.yml to your project
  2. Add your project to CircleCI
  3. Enable CircleCI 2.1 in Build Settings > Advanced Settings
  4. Add a new "Environment Variables" in Build Settings > Environment Variables
    • name: CIRCLE_CACHE_VERSION, value: 20180123
  5. Rebuild

License

MIT License: Teppei Sato <teppeis@gmail.com>

You can’t perform that action at this time.