menu_book Course Curriculum (CI/CD & DevOps Pipelines) expand_more
Pipeline Foundations
Triggers, Change Detection & Concurrency
Build, Test & Quality Gates
Artifacts, Containers & Supply Chain
Secrets, Identity & Environment Controls
Deployment Strategies & Database Safety
Pipeline Engines & Reuse
Dependency cache key design
Learn Dependency cache key design through a production-oriented CI/CD example, operational guidance, and a mastery check.
12 min read
•
Intermediate
cache-key.yml
yaml
steps:
- uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-${{ runner.os }}-
- run: npm ci
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content