From 931d53db23da5a6902e13f3acfd85adb6bd84b41 Mon Sep 17 00:00:00 2001 From: Donald Labaj Date: Wed, 12 Mar 2025 17:00:46 -0400 Subject: [PATCH] fix: Updated to fix cache issue. --- .github/workflows/build-lint-test.yml | 24 ++++++++++++------------ .github/workflows/build.yml | 8 ++++---- .github/workflows/promote.yml | 2 +- .github/workflows/release.yml | 6 +++--- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 2a553a1..b5915cf 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -7,7 +7,7 @@ jobs: env: GH_PR_NUM: ${{ github.event.number }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: | if [[ ! -z "${GH_PR_NUM}" ]]; then echo "Checking out PR" @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '16' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache name: Cache npm deps with: @@ -27,7 +27,7 @@ jobs: key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }} - run: yarn install --frozen-lockfile if: steps.yarn-cache.outputs.cache-hit != 'true' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: dist name: Cache dist with: @@ -43,7 +43,7 @@ jobs: GH_PR_NUM: ${{ github.event.number }} needs: build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: | if [[ ! -z "${GH_PR_NUM}" ]]; then echo "Checking out PR" @@ -53,7 +53,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '16' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache name: Cache npm deps with: @@ -63,7 +63,7 @@ jobs: key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }} - run: yarn install --frozen-lockfile if: steps.yarn-cache.outputs.cache-hit != 'true' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: lint-cache name: Load lint cache with: @@ -79,7 +79,7 @@ jobs: GH_PR_NUM: ${{ github.event.number }} needs: build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Yes, we really want to checkout the PR - run: | if [[ ! -z "${GH_PR_NUM}" ]]; then @@ -90,7 +90,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '16' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache name: Cache npm deps with: @@ -101,7 +101,7 @@ jobs: key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }} - run: yarn install --frozen-lockfile if: steps.yarn-cache.outputs.cache-hit != 'true' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: dist name: Cache dist with: @@ -120,7 +120,7 @@ jobs: GH_PR_NUM: ${{ github.event.number }} needs: build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Yes, we really want to checkout the PR - run: | if [[ ! -z "${GH_PR_NUM}" ]]; then @@ -131,7 +131,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '16' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache name: Cache npm deps with: @@ -142,7 +142,7 @@ jobs: key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }} - run: yarn install --frozen-lockfile if: steps.yarn-cache.outputs.cache-hit != 'true' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: dist name: Cache dist with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf0a969..61b96e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,14 +7,14 @@ jobs: env: GH_PR_NUM: ${{ github.event.number }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: | if [[ ! -z "${GH_PR_NUM}" ]]; then echo "Checking out PR" git fetch origin pull/$GH_PR_NUM/head:tmp git checkout tmp fi - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: setup-cache name: Cache setup with: @@ -33,7 +33,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: '16' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache name: Cache npm deps with: @@ -43,7 +43,7 @@ jobs: key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }} - run: yarn install --frozen-lockfile if: steps.yarn-cache.outputs.cache-hit != 'true' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: dist name: Cache dist with: diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 6301bd1..bfe8a8c 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -12,7 +12,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Build for promotion run: yarn install --frozen-lockfile && yarn build - uses: actions/setup-node@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 326e6cf..99350eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,11 +14,11 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: '16' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache name: Cache npm deps with: @@ -29,7 +29,7 @@ jobs: key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }} - run: yarn install --frozen-lockfile if: steps.yarn-cache.outputs.cache-hit != 'true' - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: dist name: Cache dist with: