We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
作为项目级别存储: 实际存储NAS路径 为: /mnt/auto/cache
cache: paths: - ./node-modules - ./public key: npm-${{ hashFiles('package-lock.json') }}
问题1: 如何存储数据将 ./node-modules,./public 分别存入 /mnt/auto/${appName}/${key} 文件下问题2: 什么时机进行数据存储识别如果是 cache的步骤, onComplete 添加默认 存储的步骤问题3: 缓存什么时候生效默认在onInit 阶段生效问题4: 缓存如何生效?默认以软链形式进行生效,格式为 ln -s /mnt/auto/${appName}/${key}/node-modules node-modules问题5: 软链冲突如何解决?假设已经存在了 node_modules,如何处理冲突?
./node-modules
./public
ln -s /mnt/auto/${appName}/${key}/node-modules node-modules
cache: npm: true
等于=>
cache: paths: - ./node-modules key: npm-${{ hashFiles('package-lock.json') }}
The text was updated successfully, but these errors were encountered:
xsahxl
No branches or pull requests
全局缓存
作为项目级别存储:
实际存储NAS路径 为: /mnt/auto/cache
项目级别缓存
问题1: 如何存储数据
将
./node-modules
,./public
分别存入 /mnt/auto/${appName}/${key} 文件下问题2: 什么时机进行数据存储
识别如果是 cache的步骤, onComplete 添加默认 存储的步骤
问题3: 缓存什么时候生效
默认在onInit 阶段生效
问题4: 缓存如何生效?
默认以软链形式进行生效,格式为
ln -s /mnt/auto/${appName}/${key}/node-modules node-modules
问题5: 软链冲突如何解决?
假设已经存在了 node_modules,如何处理冲突?
等于=>
The text was updated successfully, but these errors were encountered: