Skip to content

Commit 9e5ca18

Browse files
Update cache action to v4 in workflow files
1 parent 31f37bd commit 9e5ca18

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/publish-module.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
registry-url: https://registry.npmjs.org
2424
# Cache Node Module Dependencies
2525
- name: Cache Node Module Dependencies
26-
uses: actions/cache@v2
26+
uses: actions/cache@v4
2727
with:
2828
path: "module/node_modules"
2929
key: nodemodules-${{ runner.os }}-${{ hashFiles('module/package-lock.json') }}

.github/workflows/validate-documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
registry-url: https://registry.npmjs.org
2626
# Cache Node Module Dependencies
2727
- name: Cache Node Module Dependencies
28-
uses: actions/cache@v2
28+
uses: actions/cache@v4
2929
with:
3030
path: "documentation/node_modules"
3131
key: nodemodules-${{ runner.os }}-${{ hashFiles('documentation/package-lock.json') }}

.github/workflows/validate-module.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
with:
2222
node-version: 16
2323
registry-url: https://registry.npmjs.org
24+
# Cache Node Module Dependencies
25+
- name: Cache Node Module Dependencies
26+
uses: actions/cache@v4
27+
with:
28+
path: "module/node_modules"
29+
key: nodemodules-${{ runner.os }}-${{ hashFiles('module/package-lock.json') }}
2430
# Install Dependencies
2531
- name: Install Dependencies
2632
working-directory: module

0 commit comments

Comments
 (0)