Skip to content

Commit

Permalink
chore: Bump actions/cache to v4 (Node 20) (#3101)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored May 2, 2024
1 parent f2b0f4d commit 4043ac6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
- uses: actions/checkout@v4
- name: Cache build assets
id: cache-react-build-assets
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./${{ env.EDITOR_DIRECTORY }}/build
key: ${{ runner.os }}-${{ hashFiles('editor.planx.uk/**') }}
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
working-directory: infrastructure/application
- name: Download React build assets
id: cache-react-build-assets
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./${{ env.EDITOR_DIRECTORY }}/build
key: ${{ runner.os }}-${{ hashFiles('editor.planx.uk/**', '!editor.planx/build/**') }}
Expand Down Expand Up @@ -377,7 +377,7 @@ jobs:
- uses: actions/checkout@v4
- name: Download React build assets
id: cache-react-build-assets
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./${{ env.EDITOR_DIRECTORY }}/build
key: ${{ runner.os }}-${{ hashFiles('editor.planx.uk/**', '!editor.planx/build/**') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
node-version: ${{ vars.NODE_VERSION }}
# https://docs.github.com/en/free-pro-team@latest/actions/guides/caching-dependencies-to-speed-up-workflows#using-the-cache-action
- name: NPM cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-npm
with:
Expand All @@ -34,7 +34,7 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: PNPM cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-pnpm
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
node-version: ${{ vars.NODE_VERSION }}
# https://docs.github.com/en/free-pro-team@latest/actions/guides/caching-dependencies-to-speed-up-workflows#using-the-cache-action
- name: NPM cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-npm
with:
Expand All @@ -34,7 +34,7 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: PNPM cache
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-pnpm
with:
Expand Down

0 comments on commit 4043ac6

Please sign in to comment.