recacheman-redis
Version:
Redis standalone caching library for Node.JS and also cache engine for Cacheman
29 lines (27 loc) • 657 B
YAML
version: 2.1
workflows:
build:
jobs:
- build
jobs:
build:
docker:
- image: cimg/node:20.19.0 # Primary execution image
- image: cimg/redis:7.2
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Install npm
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ./node_modules
- run:
name: Run Tests with Coverage
command: npm test
- store_artifacts:
path: coverage
prefix: coverage