fix(ci): fix dep install error in test action

This commit is contained in:
ppoffice 2020-08-14 22:04:57 -04:00
parent c3df7d15f7
commit 4020591c82
No known key found for this signature in database
GPG Key ID: B33335481CC0D498
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ jobs:
restore-keys: npm-cache
- run: npm install
- run: >
npm install $(node -e "const deps=require('./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(' '));")
- run: npx hexo config theme next
- run: time npx hexo g