mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-11 19:04:30 +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:
|
||||
- ps: Install-Product node $env:nodejs_version
|
||||
- npm install
|
||||
|
||||
test_script:
|
||||
- node --version && npm --version
|
||||
- npm test
|
||||
@@ -83,7 +83,7 @@ function run(env) {
|
||||
|
||||
if (env === 'production') {
|
||||
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(() => {
|
||||
|
||||
Reference in New Issue
Block a user