icon

Save NPM Cache

Saves node_modules dependencies, used by NPM and Yarn. This Step needs to be used in combination with Restore NPM Cache.

Saves node_modules dependencies. This Step needs to be used in combination with Restore NPM Cache.

This Step is based on key-based caching and sets up the cache key and path automatically for NPM dependencies. If you'd like to change the cache key (or paths to cache), you might want to use the generic Save cache Step instead.

Note: NPM and Yarn package managers are both supported.

Related steps

Restore NPM cache

Save cache

Similar steps

Saves items to the cache based on key-value pairs. This Step needs to be used in combination with Multikey Restore Cache or Restore Cache.

Restores cached node_modules dependencies, used by NPM and Yarn. This Step needs to be used in combination with Save NPM Cache.

Saves build cache using a cache key. This Step needs to be used in combination with Restore Cache.

Caches Carthage prebuilt frameworks. This Step needs to be used in combination with Restore Carthage Cache.