Skip to content

A local-first personal finance app

Partition GitHub Actions cache based on Node version (#1118)

Jed Fox15bc3c45a0ee
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index 55b620393c..fbf55830d6 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -12,7 +12,7 @@ runs:
id: cache
with:
path: '**/node_modules'
- key: yarn-v1-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
+ key: yarn-v1-${{ runner.os }}-${{ hashFiles('.nvmrc') }}-${{ hashFiles('**/yarn.lock') }}
- name: Install
run: yarn --immutable
shell: bash
diff --git a/upcoming-release-notes/1118.md b/upcoming-release-notes/1118.md
new file mode 100644
index 0000000000..e27c1ee0b5
--- /dev/null
+++ b/upcoming-release-notes/1118.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [j-f1]
+---
+
+Partition GitHub Actions cache based on Node version