fix(ci): make test fail if hexo g throws errors

This commit is contained in:
ppoffice 2020-09-03 18:48:34 -04:00
parent 57fe13d865
commit eaf1b54589
No known key found for this signature in database
GPG Key ID: B33335481CC0D498
1 changed files with 1 additions and 1 deletions

View File

@ -33,4 +33,4 @@ jobs:
npm install $(node -e "const deps=require('./themes/icarus/package.json').peerDependencies;
console.log(Object.keys(deps).map(key=>key+'@'+deps[key]).join(' '));")
- run: npx hexo config theme icarus
- run: time NODE_ENV=production npx hexo g
- run: time NODE_ENV=production npx hexo g -b