fix(ci): make test fail if hexo g throws errors
This commit is contained in:
parent
57fe13d865
commit
eaf1b54589
|
@ -33,4 +33,4 @@ jobs:
|
||||||
npm install $(node -e "const deps=require('./themes/icarus/package.json').peerDependencies;
|
npm install $(node -e "const deps=require('./themes/icarus/package.json').peerDependencies;
|
||||||
console.log(Object.keys(deps).map(key=>key+'@'+deps[key]).join(' '));")
|
console.log(Object.keys(deps).map(key=>key+'@'+deps[key]).join(' '));")
|
||||||
- run: npx hexo config theme icarus
|
- run: npx hexo config theme icarus
|
||||||
- run: time NODE_ENV=production npx hexo g
|
- run: time NODE_ENV=production npx hexo g -b
|
||||||
|
|
Loading…
Reference in New Issue