fix(ci): replace hardcoded node modules cache path with a portable C:\Users\kjh20-based path
This commit is contained in:
@@ -85,7 +85,7 @@ jobs:
|
||||
- name: Install Node Dependencies
|
||||
run: |
|
||||
# package-lock.json 해시로 캐시 유효성 판단
|
||||
CACHE_BASE=/volume1/gitea/node_cache
|
||||
CACHE_BASE="$HOME/gitea_node_cache"
|
||||
LOCK_HASH=$(md5sum package-lock.json 2>/dev/null | cut -d' ' -f1 || echo "no-lock")
|
||||
[ -z "$LOCK_HASH" ] && LOCK_HASH="no-lock"
|
||||
CACHE_DIR="$CACHE_BASE/$LOCK_HASH"
|
||||
|
||||
Reference in New Issue
Block a user