From 955416ada8af389ae50fa554d9991ee4443ff591 Mon Sep 17 00:00:00 2001 From: "Marcus R. Brown" Date: Fri, 20 Sep 2024 16:35:20 -0700 Subject: [PATCH] ci(cache-cleanup): fix bad formatting for env. variable (#398) --- .github/actions/prepare/action.yaml | 12 ++++++------ .github/workflows/cache-cleanup.yaml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/prepare/action.yaml b/.github/actions/prepare/action.yaml index 6ff4541..78ec519 100644 --- a/.github/actions/prepare/action.yaml +++ b/.github/actions/prepare/action.yaml @@ -5,15 +5,15 @@ description: Prepare the job by installing required tools and dependencies runs: using: 'composite' steps: - - id: setup-node - name: Setup Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 + - name: Setup pnpm + uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 with: - node-version-file: '.node-version' + run_install: false - - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 + - name: Setup Node.js + uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: - run_install: false + node-version-file: '.node-version' - name: Install dependencies and build packages uses: ./.github/actions/pnpm-install diff --git a/.github/workflows/cache-cleanup.yaml b/.github/workflows/cache-cleanup.yaml index 378f043..9cc21d5 100644 --- a/.github/workflows/cache-cleanup.yaml +++ b/.github/workflows/cache-cleanup.yaml @@ -25,7 +25,7 @@ jobs: || github.event_name != 'pull_request' && github.ref || '' }} - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gh extension install actions/gh-actions-cache