Skip to content

ci: add node dependency caching#2020

Merged
umputun merged 2 commits intoumputun:masterfrom
paskal:ci/add-pnpm-cache
Mar 16, 2026
Merged

ci: add node dependency caching#2020
umputun merged 2 commits intoumputun:masterfrom
paskal:ci/add-pnpm-cache

Conversation

@paskal
Copy link
Copy Markdown
Collaborator

@paskal paskal commented Mar 7, 2026

Summary

  • Replace manual actions/cache steps with built-in setup-node pnpm cache support (cache: "pnpm" + cache-dependency-path: frontend/pnpm-lock.yaml)
  • Applied to all setup-node steps in both ci-frontend.yml (4 jobs) and ci-frontend-api.yml (3 jobs)
  • Move pnpm install step before setup-node as required for pnpm caching detection
  • Remove now-redundant "Get pnpm store directory" and "Setup pnpm cache" steps

Replace manual actions/cache steps with built-in setup-node cache support.
Add cache: pnpm and cache-dependency-path to all setup-node steps in both
ci-frontend.yml and ci-frontend-api.yml. Move pnpm install before setup-node
as required for pnpm caching to work.
@paskal paskal requested a review from umputun as a code owner March 7, 2026 21:22
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.86%. Comparing base (b38d91c) to head (ab9e667).
⚠️ Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2020      +/-   ##
==========================================
+ Coverage   62.17%   64.86%   +2.68%     
==========================================
  Files         132      140       +8     
  Lines        3035     3267     +232     
  Branches      769      827      +58     
==========================================
+ Hits         1887     2119     +232     
+ Misses       1144     1034     -110     
- Partials        4      114     +110     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Add skipLibCheck to skip type checking of .d.ts files in node_modules,
matching the setting already used by the main remark42 app. Fixes
@types/eslint-scope vs @types/eslint type incompatibility.
@umputun umputun merged commit 8aafc8f into umputun:master Mar 16, 2026
10 checks passed
@paskal paskal deleted the ci/add-pnpm-cache branch March 16, 2026 07:15
@paskal paskal added this to the v1.16.0 milestone Mar 25, 2026
@paskal paskal added the CI label Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants