From 1e44b85b6a65e6f577eb62ddbb57124b10c344c1 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Fri, 4 Sep 2026 22:39:07 +0200 Subject: [PATCH] perf: add pnpm store caching to recompile and test workflows --- .gitea/workflows/recompile-dist.yaml | 5 +++-- .gitea/workflows/test.yaml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/recompile-dist.yaml b/.gitea/workflows/recompile-dist.yaml index 3532bc3..3d7db67 100644 --- a/.gitea/workflows/recompile-dist.yaml +++ b/.gitea/workflows/recompile-dist.yaml @@ -26,11 +26,12 @@ jobs: ref: ${{ github.head_ref }} fetch-depth: 0 + - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: '20' - - - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 + cache: pnpm - name: Clean Install run: pnpm install --frozen-lockfile --ignore-scripts diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index cf2b559..a35a430 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -11,10 +11,11 @@ jobs: runs-on: pi steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: '24' - - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 + cache: pnpm - run: pnpm install --frozen-lockfile shell: bash - run: pnpm test