Skip to content

Commit a47d076

Browse files
committed
ci: update action to the latest version in GitHub actions
1 parent 8daee67 commit a47d076

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/setup-project/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ runs:
2121

2222
- name: Restore or cache node_modules
2323
id: cache-node-modules
24-
uses: actions/cache@v4
24+
uses: actions/cache@v5
2525
with:
2626
path: node_modules
2727
key: node-modules-${{ inputs.node-version }}-${{ hashFiles('package-lock.json') }}
@@ -33,7 +33,7 @@ runs:
3333

3434
- name: Restore Next.js build output
3535
if: inputs.restore-nextjs-cache == 'true'
36-
uses: actions/cache/restore@v4
36+
uses: actions/cache/restore@v5
3737
with:
3838
path: |
3939
.next

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
node-version: ${{ matrix.node-version }}
2727

2828
- name: Restore or cache Next.js build
29-
uses: actions/cache@v4
29+
uses: actions/cache@v5
3030
with:
3131
path: |
3232
.next/cache
@@ -40,7 +40,7 @@ jobs:
4040

4141
- if: matrix.node-version == '22.x' && success()
4242
name: Cache Next.js build output
43-
uses: actions/cache/save@v4
43+
uses: actions/cache/save@v5
4444
with:
4545
path: |
4646
.next
@@ -173,7 +173,7 @@ jobs:
173173
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
174174

175175
- name: Upload test results
176-
uses: actions/upload-artifact@v5
176+
uses: actions/upload-artifact@v6
177177
if: always()
178178
with:
179179
name: test-results

0 commit comments

Comments
 (0)