seems tests weren't actually running in appveyor? (#98)

well this was harder than it should have been
This commit is contained in:
Rich Harris
2018-01-20 18:34:30 -05:00
committed by GitHub
parent c15959710b
commit d11bd954e0
2 changed files with 5 additions and 1 deletions

View File

@@ -15,3 +15,7 @@ environment:
install: install:
- ps: Install-Product node $env:nodejs_version - ps: Install-Product node $env:nodejs_version
- npm install - npm install
test_script:
- node --version && npm --version
- npm test

View File

@@ -83,7 +83,7 @@ function run(env) {
if (env === 'production') { if (env === 'production') {
const cli = path.resolve(__dirname, '../../cli/index.js'); const cli = path.resolve(__dirname, '../../cli/index.js');
exec_promise = exec(`${cli} build`).then(() => exec(`${cli} export`)); exec_promise = exec(`node ${cli} export`);
} }
return exec_promise.then(() => { return exec_promise.then(() => {