perf: add pnpm store caching to recompile and test workflows
Philipp/Global-Workflows: Pre-commit Lint (Scoped) / pre-commit (pull_request) Successful in 2m37s
Test / Run Tests (push) Successful in 5m53s
Test / Run Tests (pull_request) Successful in 5m49s

This commit is contained in:
2026-09-04 22:39:07 +02:00
parent 39ac4100e3
commit 1e44b85b6a
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -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
+2 -1
View File
@@ -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