07 Continuous Integration
JavaScript Ecosystem

npm ci

Is a npm cli command for running fast installs on clean state in automated environments.

npm ci vs. npm install

npm ci is significantly faster than npm install by leaving out some user oriented features.

Clears the node_modules folder before install.

Requires a package-lock.json

Github Actions

In a few easy steps you can get Github Actions to run your build.

Github Actions

You can select one of the predefined workflows

Screenshot of Github Action creation wizard

Github Actions

Predefined workflow file

Screenshot of default node.js Github Action workflow file

Questions?

Exercise Time 🧠

  • Setup Github Actions to run your build on each push to master

See the README.md for more information