mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-21 14:55:04 +00:00
seems tests weren't actually running in appveyor? (#98)
well this was harder than it should have been
This commit is contained in:
@@ -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
|
||||||
@@ -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(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user