From 9dfc11037bd4dd1bb699a37b737d589681f6e696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 2 Jun 2023 10:57:53 +0200 Subject: [PATCH] ci: Set up Turborepo cache for GitHub actions runner (no-changelog) (#6335) --- .github/workflows/ci-master.yml | 3 +++ .github/workflows/ci-postgres-mysql.yml | 3 +++ .github/workflows/ci-pull-requests.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 53ea34eb91..a63f5903ca 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -29,6 +29,9 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile + - name: Configure Turbo cache + uses: dtinth/setup-github-actions-caching-for-turbo@v1 + - name: Build run: pnpm build diff --git a/.github/workflows/ci-postgres-mysql.yml b/.github/workflows/ci-postgres-mysql.yml index bbec701552..ddaa9db224 100644 --- a/.github/workflows/ci-postgres-mysql.yml +++ b/.github/workflows/ci-postgres-mysql.yml @@ -28,6 +28,9 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile + - name: Configure Turbo cache + uses: dtinth/setup-github-actions-caching-for-turbo@v1 + - name: Start MySQL & Postgres uses: isbang/compose-action@v1.3.2 with: diff --git a/.github/workflows/ci-pull-requests.yml b/.github/workflows/ci-pull-requests.yml index 01e913b010..12461f7a72 100644 --- a/.github/workflows/ci-pull-requests.yml +++ b/.github/workflows/ci-pull-requests.yml @@ -23,6 +23,9 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile + - name: Configure Turbo cache + uses: dtinth/setup-github-actions-caching-for-turbo@v1 + - name: Build run: pnpm build