From 984ce638f05d3a20873d05bab2b4fd0437ff5253 Mon Sep 17 00:00:00 2001
From: Josh Gross <joshmgross@github.com>
Date: Mon, 15 Jun 2020 15:55:57 -0400
Subject: [PATCH] Add note about using setup-node before cache (#351)

---
 examples.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples.md b/examples.md
index ec662bb..8ead3cf 100644
--- a/examples.md
+++ b/examples.md
@@ -156,6 +156,8 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
 
 For npm, cache files are stored in `~/.npm` on Posix, or `%AppData%/npm-cache` on Windows. See https://docs.npmjs.com/cli/cache#cache
 
+If using `npm config` to retrieve the cache directory, ensure you run [actions/setup-node](https://github.com/actions/setup-node) first to ensure your `npm` version is correct.
+
 >Note: It is not recommended to cache `node_modules`, as it can break across Node versions and won't work with `npm ci`
 
 ### macOS and Ubuntu