fixes
This commit is contained in:
parent
e63ce1f8ed
commit
51da138b55
@ -15,6 +15,11 @@ fs.writeFileSync ('package.json', JSON.stringify (pkg, null, 2));
|
||||
child_process.execSync ('yarn lint', { stdio: 'inherit' });
|
||||
if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.test === 'string')
|
||||
child_process.execSync ('yarn test', { stdio: 'inherit' });
|
||||
if (
|
||||
typeof pkg.scripts !== 'undefined'
|
||||
&& typeof pkg.scripts.compile === 'string'
|
||||
)
|
||||
child_process.execSync ('yarn compile', { stdio: 'inherit' });
|
||||
|
||||
child_process.exec ('git log -1 | grep \'\\[no publish\\]\'')
|
||||
.addListener ('exit', (code) => {
|
||||
|
@ -15,6 +15,7 @@
|
||||
"scripts": {
|
||||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs",
|
||||
"test": "tsc && nyc ava",
|
||||
"ci": "yarn && node jenkins.js"
|
||||
"ci": "yarn && node jenkins.js",
|
||||
"compile": "tsc"
|
||||
}
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
import fs from 'fs';
|
||||
import test from 'ava';
|
||||
import { Graph, Node } from '../lib';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user