Skip to content

Commit

Permalink
chore: Upgrade to actions/cache@v4 (#961)
Browse files Browse the repository at this point in the history
It moves away from unsupported nodejs version to `node20`

See https://github.com/actions/cache?tab=readme-ov-file#v4
deorus authored Nov 25, 2024
1 parent abb4b88 commit 202320c
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check-ci-validation.yml
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ jobs:
node-version-file: .node-version

- name: Cache project 'node_modules' directory
uses: actions/cache@v3
uses: actions/cache@v4
id: node-modules-cache
with:
key: node-modules-cache-${{ hashFiles('**/package-lock.json', '**/.node-version') }}
@@ -63,7 +63,7 @@ jobs:
node-version-file: .node-version

- name: Cache project 'node_modules' directory
uses: actions/cache@v3
uses: actions/cache@v4
id: node-modules-cache
with:
key: node-modules-cache-${{ hashFiles('**/package-lock.json', '**/.node-version') }}
@@ -105,7 +105,7 @@ jobs:
node-version-file: .node-version

- name: Cache project 'node_modules' directory
uses: actions/cache@v3
uses: actions/cache@v4
id: node-modules-cache
with:
key: node-modules-cache-${{ hashFiles('**/package-lock.json', '**/.node-version') }}
@@ -139,7 +139,7 @@ jobs:
node-version-file: .node-version

- name: Cache project 'node_modules' directory
uses: actions/cache@v3
uses: actions/cache@v4
id: node-modules-cache
with:
key: node-modules-cache-${{ hashFiles('**/package-lock.json', '**/.node-version') }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-typist-package-release.yml
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ jobs:
node-version-file: .node-version

- name: Cache project 'node_modules' directory
uses: actions/cache@v3
uses: actions/cache@v4
id: node-modules-cache
with:
key: node-modules-cache-${{ hashFiles('**/package-lock.json', '**/.node-version') }}

0 comments on commit 202320c

Please sign in to comment.