From 3fb3224d7718eab95f6f85e63181d13168e79a31 Mon Sep 17 00:00:00 2001 From: Jon Gadsden Date: Mon, 21 Oct 2024 06:57:54 +0100 Subject: [PATCH] update cache action in workflows --- .github/workflows/browserstack.yaml | 2 +- .github/workflows/pull_request.yaml | 14 +++++++------- .github/workflows/push.yaml | 22 +++++++++++----------- .github/workflows/release.yaml | 16 ++++++++-------- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/browserstack.yaml b/.github/workflows/browserstack.yaml index 26af826e..ae594af6 100644 --- a/.github/workflows/browserstack.yaml +++ b/.github/workflows/browserstack.yaml @@ -26,7 +26,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index b0bce2b8..86cb1098 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -35,7 +35,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -69,7 +69,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -103,7 +103,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -164,7 +164,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -205,7 +205,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -245,7 +245,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -286,7 +286,7 @@ jobs: install: true - name: Cache Docker layers - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile') }} diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index d9005a27..87b162c5 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -33,7 +33,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -77,7 +77,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -111,7 +111,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -177,7 +177,7 @@ jobs: install: true - name: Cache Docker layers - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile') }} @@ -274,7 +274,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -325,7 +325,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -377,7 +377,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -475,7 +475,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -515,7 +515,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -557,7 +557,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -604,7 +604,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 14d173c9..47c4f770 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,7 +31,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -65,7 +65,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -109,7 +109,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -145,7 +145,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -196,7 +196,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -255,7 +255,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -305,7 +305,7 @@ jobs: node-version: '20.14.0' - name: Cache NPM dir - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -363,7 +363,7 @@ jobs: install: true - name: Cache Docker layers - uses: actions/cache@v4.0.2 + uses: actions/cache@v4.1.1 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile') }}