ci: npm cache

This commit is contained in:
Ming Di Leom 2022-01-26 04:23:37 +00:00
parent 7daefb4cb3
commit 39aa7aad94
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 4 additions and 0 deletions

View File

@ -61,5 +61,9 @@ netlify:
- npm run build
- netlify deploy --dir=public --prod
cache:
paths:
- node_modules/
rules:
- if: $NETLIFY_SITE_ID