feat(ci): expand cache paths to support all Node.js package managers

- Add comprehensive caching for npm, yarn, and pnpm package managers
- Cache paths now include:
  - npm: ~/.npm, node_modules/.cache
  - yarn: ~/.yarn, ~/.cache/yarn, ~/.cache/yarn/global
  - pnpm: ~/.pnpm-store, ~/.cache/pnpm, ~/.local/share/pnpm/global
- Update cache keys to include all lockfile types (package-lock.json, yarn.lock, pnpm-lock.yaml)
- Rename 'Cache Tree-sitter CLI' to 'Cache npx store' for clarity
- Apply changes consistently across test, lint, and coverage jobs

This improves cache hit rates and build performance regardless of which
Node.js package manager is used in the development environment.
This commit is contained in:
2025-09-13 04:52:14 +03:00
parent c5334da82f
commit 3f6411b23f
5 changed files with 75 additions and 26 deletions

View File

@@ -7923,4 +7923,4 @@
"_primary_expression"
],
"reserved": {}
}
}

View File

@@ -3307,4 +3307,4 @@
"type": "~",
"named": false
}
]
]