diff options
Diffstat (limited to 'doc/ci/caching/index.md')
-rw-r--r-- | doc/ci/caching/index.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/ci/caching/index.md b/doc/ci/caching/index.md index b83814560c7..0109d87921b 100644 --- a/doc/ci/caching/index.md +++ b/doc/ci/caching/index.md @@ -197,19 +197,19 @@ For more fine tuning, read also about the The most common use case of cache is to preserve contents between subsequent runs of jobs for things like dependencies and commonly used libraries -(Nodejs packages, PHP packages, rubygems, Python libraries, etc.), +(Node.js packages, PHP packages, rubygems, Python libraries, etc.), so they don't have to be re-fetched from the public internet. NOTE: **Note:** For more examples, check out our [GitLab CI/CD templates](https://gitlab.com/gitlab-org/gitlab-foss/tree/master/lib/gitlab/ci/templates). -### Caching Nodejs dependencies +### Caching Node.js dependencies Assuming your project is using [npm](https://www.npmjs.com/) or -[Yarn](https://classic.yarnpkg.com/en/) to install the Nodejs dependencies, the +[Yarn](https://classic.yarnpkg.com/en/) to install the Node.js dependencies, the following example defines `cache` globally so that all jobs inherit it. -Nodejs modules are installed in `node_modules/` and are cached per-branch: +Node.js modules are installed in `node_modules/` and are cached per-branch: ```yaml # |