From e6b77247253861d186175fcc506aea3babb0fbef Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 14 May 2026 00:54:53 +0200 Subject: [PATCH] fix(ci): enable pnpm store caching via pnpm/action-setup --- .github/workflows/autofix.yml | 2 ++ .github/workflows/ci.yml | 2 ++ .github/workflows/internal-benchmark.yml | 2 ++ .github/workflows/publish-documentation.yml | 2 ++ .github/workflows/release-please.yml | 6 ++++++ 5 files changed, 14 insertions(+) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index dcb79a62c..02b8fff67 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -14,6 +14,8 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-node@v6 - uses: pnpm/action-setup@v6 + with: + cache: true - run: pnpm install --ignore-scripts - run: pnpm build - run: pnpm format diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3daeb445..0ff496b2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,8 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v6 + with: + cache: true - name: Install Dependencies run: pnpm install --ignore-scripts --frozen-lockfile diff --git a/.github/workflows/internal-benchmark.yml b/.github/workflows/internal-benchmark.yml index 968579beb..1c5df577a 100644 --- a/.github/workflows/internal-benchmark.yml +++ b/.github/workflows/internal-benchmark.yml @@ -27,6 +27,8 @@ jobs: check-latest: true - name: Setup pnpm uses: pnpm/action-setup@v6 + with: + cache: true - name: Install dependencies run: pnpm install --ignore-scripts --frozen-lockfile - uses: bencherdev/bencher@main diff --git a/.github/workflows/publish-documentation.yml b/.github/workflows/publish-documentation.yml index 6a0ca1dda..2dc49da25 100644 --- a/.github/workflows/publish-documentation.yml +++ b/.github/workflows/publish-documentation.yml @@ -24,6 +24,8 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v6 + with: + cache: true - name: Generate documentation run: | diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index c343b0e01..9e0a2b312 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -44,6 +44,8 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v6 + with: + cache: true - name: Install Dependencies run: pnpm install --ignore-scripts --frozen-lockfile @@ -100,6 +102,8 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v6 + with: + cache: true - name: Install Dependencies run: pnpm install --ignore-scripts --frozen-lockfile @@ -141,6 +145,8 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v6 + with: + cache: true - name: Generate documentation run: | -- 2.43.0