From 41807cf980b7869a554acebdfb6f153b9bc80f1e Mon Sep 17 00:00:00 2001 From: Angus Bayley Date: Wed, 11 Sep 2024 10:37:36 +0100 Subject: [PATCH] temp: bypass pnpm and turborepo cache during actions toolchain setup --- .github/workflows/test.yml | 2 +- .../composites/setup-toolchain/action.yml | 27 ------------------- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f99108adf4e5..cb3c211a0afd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -187,7 +187,7 @@ jobs: ref: ${{ inputs.ref || github.sha }} fetch-depth: 0 - name: Setup the toolchain - uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop + uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@fix/turborepo-2-upgrade-from-scratch id: toolchain with: skip-turbo-cache: "false" diff --git a/tools/actions/composites/setup-toolchain/action.yml b/tools/actions/composites/setup-toolchain/action.yml index 7797c33f6a34..73b7d10ccaef 100644 --- a/tools/actions/composites/setup-toolchain/action.yml +++ b/tools/actions/composites/setup-toolchain/action.yml @@ -64,21 +64,6 @@ runs: role-to-assume: arn:aws:iam::${{ inputs.accountId }}:role/${{ inputs.roleName }} aws-region: ${{ inputs.region }} - - name: Cache pnpm store - uses: tespkg/actions-cache@v1 - if: steps.aws.conclusion == 'success' && inputs.skip-pnpm-cache != 'true' - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - accessKey: ${{ env.AWS_ACCESS_KEY_ID }} - secretKey: ${{ env.AWS_SECRET_ACCESS_KEY }} - sessionToken: ${{ env.AWS_SESSION_TOKEN }} - bucket: ll-gha-s3-cache - region: ${{ inputs.region }} - use-fallback: false - - uses: actions/setup-node@v3 with: node-version: 20.11.0 @@ -90,18 +75,6 @@ runs: npm i -g npm shell: bash - - name: TurboRepo local caching server - id: turborepo-cache-server - if: steps.aws.conclusion == 'success' && inputs.skip_turbo_cache != 'true' - uses: LedgerHQ/ledger-live/tools/actions/turborepo-s3-cache@develop - with: - server-token: "${{ inputs.turbo-server-token }}" - cleanup-cache-folder: "true" - aws-access-key: ${{ env.AWS_ACCESS_KEY_ID }} - aws-secret-key: ${{ env.AWS_SECRET_ACCESS_KEY }} - aws-session-token: ${{ env.AWS_SESSION_TOKEN }} - region: ${{ inputs.region }} - - name: Cache LLM pods uses: actions/cache@v3 if: inputs.skip-pod-cache != 'true'