ci: npm cache

This commit is contained in:
Ming Di Leom 2022-01-26 04:20:59 +00:00
parent 35c606552a
commit bba6270837
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