fix(ci): fix syntax error in ci
parent
0853834dc9
commit
c3df7d15f7
|
@ -10,6 +10,6 @@ jobs:
|
|||
- uses: actions/setup-node@v1
|
||||
- run: npm install
|
||||
- run: >
|
||||
npm install $(node -e "const deps=require('./package.json').peerDependencies;
|
||||
console.log(Object.keys(deps).map(key=>key+'@'+deps[key]).join(' '));")
|
||||
npm install $(node -e "const deps=require('./package.json').peerDependencies;
|
||||
console.log(Object.keys(deps).map(key=>key+'@'+deps[key]).join(' '));")
|
||||
- run: npm run lint
|
||||
|
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
restore-keys: npm-cache
|
||||
- run: npm install
|
||||
- run: >
|
||||
npm install $(node -e "const deps=require('./package.json').peerDependencies;
|
||||
console.log(Object.keys(deps).map(key=>key+'@'+deps[key]).join(' '));")
|
||||
npm install $(node -e "const deps=require('./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
|
||||
|
|
Loading…
Reference in New Issue