From 4b630134e9cc70a161e673a0df1e857400a38411 Mon Sep 17 00:00:00 2001 From: gabriel miranda Date: Wed, 15 Oct 2025 14:19:23 -0300 Subject: [PATCH] chore(ci): remove caching checking if this actually runs faster, because caching takes a really long time --- .github/workflows/lint.yml | 12 ------------ .github/workflows/preview-release.yml | 17 ----------------- .github/workflows/release-canary.yml | 11 ----------- .github/workflows/release.yml | 11 ----------- .github/workflows/tests.yml | 17 ----------------- 5 files changed, 68 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c51688343c..8c13c5b1d1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,19 +21,7 @@ jobs: uses: actions/checkout@v4 - name: pnpm setup uses: pnpm/action-setup@f2b2b233b538f500472c7274c7012f57857d8ce0 - - name: pnpm Cache - id: pnpm-cache - uses: buildjet/cache@9347ea1c7c1f331d397aa98b3894420448373372 - with: - path: | - ~/.pnpm-store - node_modules - */*/node_modules - key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm- - name: Install packages - if: steps.pnpm-cache.outputs.cache-hit != 'true' run: pnpm install --frozen-lockfile - name: Run Lint run: pnpm lint diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml index adab211245..f8c21fe49f 100644 --- a/.github/workflows/preview-release.yml +++ b/.github/workflows/preview-release.yml @@ -18,25 +18,8 @@ jobs: uses: actions/checkout@v4 - name: pnpm setup uses: pnpm/action-setup@f2b2b233b538f500472c7274c7012f57857d8ce0 - - name: pnpm Cache - id: pnpm-cache - uses: buildjet/cache@9347ea1c7c1f331d397aa98b3894420448373372 - with: - path: | - ~/.pnpm-store - node_modules - */*/node_modules - key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm- - name: Install packages - if: steps.pnpm-cache.outputs.cache-hit != 'true' run: pnpm install --frozen-lockfile - - name: turborepo Cache - uses: rharkor/caching-for-turbo@8434baaaec555ed7ef66132f2e8a09e65ec68c19 - with: - cache-prefix: ${{ runner.os }}-turbo- - provider: github - name: Run Build run: pnpm build env: diff --git a/.github/workflows/release-canary.yml b/.github/workflows/release-canary.yml index e395006a1b..ec6fc05f3d 100644 --- a/.github/workflows/release-canary.yml +++ b/.github/workflows/release-canary.yml @@ -26,18 +26,7 @@ jobs: corepack enable corepack prepare pnpm@9.15.0 --activate pnpm config set script-shell "/usr/bin/bash" - - name: pnpm Cache - uses: buildjet/cache@9347ea1c7c1f331d397aa98b3894420448373372 - with: - path: | - ~/.pnpm-store - node_modules - */*/node_modules - key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm- - name: Install packages - if: steps.pnpm-cache.outputs.cache-hit != 'true' run: pnpm install --frozen-lockfile - name: Enter prerelease mode # This step errors if it is already in prerelease mode diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d60193dc11..a41d5ab683 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,17 +21,6 @@ jobs: node-version: 22 - name: pnpm setup uses: pnpm/action-setup@f2b2b233b538f500472c7274c7012f57857d8ce0 - - name: pnpm Cache - id: pnpm-cache - uses: buildjet/cache@9347ea1c7c1f331d397aa98b3894420448373372 - with: - path: | - ~/.pnpm-store - node_modules - */*/node_modules - key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm- - name: Install packages if: steps.pnpm-cache.outputs.cache-hit != 'true' run: pnpm install --frozen-lockfile diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5af8804b09..eb13055670 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,25 +23,8 @@ jobs: uses: actions/checkout@v4 - name: pnpm setup uses: pnpm/action-setup@f2b2b233b538f500472c7274c7012f57857d8ce0 - - name: pnpm Cache - id: pnpm-cache - uses: buildjet/cache@9347ea1c7c1f331d397aa98b3894420448373372 - with: - path: | - ~/.pnpm-store - node_modules - */*/node_modules - key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm- - name: Install packages - if: steps.pnpm-cache.outputs.cache-hit != 'true' run: pnpm install --frozen-lockfile - - name: turborepo Cache - uses: rharkor/caching-for-turbo@8434baaaec555ed7ef66132f2e8a09e65ec68c19 - with: - cache-prefix: ${{ runner.os }}-turbo- - provider: github - name: Run Build run: pnpm build # We include the environment variables here so that the cache for turborepo