Skip to content

Commit ed0c572

Browse files
committed
Cache node_modules
1 parent 10ab044 commit ed0c572

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
with:
2626
node-version: ${{ matrix.node_version }}
2727
registry-url: "https://registry.npmjs.org"
28+
- name: Cache node_modules
29+
uses: actions/cache@v4
30+
with:
31+
path: node_modules
32+
key: ${{ matrix.node_version }}-${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
2833
- name: Set Min Version
2934
uses: Stelzi79/action-minver@3.0.1
3035
id: version

0 commit comments

Comments
 (0)