###Related to #2133
Cache npm dependencies
The workflow installs dependencies using npm ci on every run. Enabling the built-in npm cache in actions/setup-node could reduce setup time.
Proposed change:
- uses: actions/setup-node@v4
with:
node-version: "${{ steps.lockversion.outputs.version }}"
cache: npm
(If needed, cache-dependency-path can be configured based on the repository's lockfile location.)
Benefits:
- Faster dependency installation.
- Reduced workflow execution time.
- Lower network usage during CI
###Related to #2133
Cache npm dependencies
The workflow installs dependencies using
npm cion every run. Enabling the built-in npm cache inactions/setup-nodecould reduce setup time.Proposed change:
(If needed,
cache-dependency-pathcan be configured based on the repository's lockfile location.)Benefits: