From b316ac7cc453c69b0f400d3a23c4da73710c0f8d Mon Sep 17 00:00:00 2001 From: iCrawl Date: Mon, 18 Jul 2022 13:16:16 +0200 Subject: [PATCH] ci: remove turbo cache --- .github/workflows/documentation.yml | 24 +++--------------------- .github/workflows/publish-dev.yml | 11 +---------- .github/workflows/test.yml | 13 ++----------- 3 files changed, 6 insertions(+), 42 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index d5bc04e97..109cc47a0 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -34,23 +34,14 @@ jobs: cache: 'yarn' cache-dependency-path: yarn.lock - - name: Turbo cache - id: turbo-cache - uses: actions/cache@v3 - with: - path: .turbo - key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }} - restore-keys: | - turbo-${{ github.job }}-${{ github.ref_name }}- - - name: Install dependencies run: yarn --immutable - name: Build dependencies - run: yarn build --cache-dir=".turbo" + run: yarn build - name: Build docs - run: yarn docs --cache-dir=".turbo" + run: yarn docs - name: Upload docgen artifacts uses: actions/upload-artifact@v3 @@ -95,20 +86,11 @@ jobs: cache: 'yarn' cache-dependency-path: yarn.lock - - name: Turbo cache - id: turbo-cache - uses: actions/cache@v3 - with: - path: .turbo - key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }} - restore-keys: | - turbo-${{ github.job }}-${{ github.ref_name }}- - - name: Install dependencies run: yarn --immutable - name: Build actions - run: yarn build --cache-dir=".turbo" + run: yarn build - name: Download docgen artifacts uses: actions/download-artifact@v3 diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index 70975c86e..6e9e45cea 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -36,15 +36,6 @@ jobs: cache: 'yarn' cache-dependency-path: yarn.lock - - name: Turbo cache - id: turbo-cache - uses: actions/cache@v3 - with: - path: .turbo - key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }} - restore-keys: | - turbo-${{ github.job }}-${{ github.ref_name }}- - - name: Check previous released version id: pre-release run: | @@ -58,7 +49,7 @@ jobs: - name: Build dependencies if: steps.pre-release.outputs.release == 'true' - run: yarn build --cache-dir=".turbo" + run: yarn build - name: Deprecate old versions if: steps.pre-release.outputs.release == 'true' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d3ae682bc..1a3fe0a9c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,20 +15,11 @@ jobs: cache: 'yarn' cache-dependency-path: yarn.lock - - name: Turbo cache - id: turbo-cache - uses: actions/cache@v3 - with: - path: .turbo - key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ github.sha }} - restore-keys: | - turbo-${{ github.job }}-${{ github.ref_name }}- - - name: Install dependencies run: yarn --immutable - name: ESLint - run: yarn lint --cache-dir=".turbo" + run: yarn lint - name: Tests run: yarn test @@ -38,4 +29,4 @@ jobs: if: github.repository_owner == 'discordjs' - name: Build - run: yarn build --cache-dir=".turbo" + run: yarn build