Skip to content

Commit

Permalink
Upgrade Netlify Build
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Apr 23, 2020
1 parent b7a28d0 commit 8d461fd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 33 deletions.
43 changes: 13 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
"postinstall": "node ./scripts/postinstall.js"
},
"dependencies": {
"@netlify/build": "^0.3.6",
"@netlify/config": "^0.10.1",
"@netlify/build": "^0.4.0",
"@netlify/config": "^0.11.0",
"@netlify/zip-it-and-ship-it": "^0.4.0-14",
"@oclif/command": "^1.5.18",
"@oclif/config": "^1.13.2",
Expand Down
7 changes: 6 additions & 1 deletion src/tests/build.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ const runBuildCommand = async function(t, fixtureSubDir, { exitCode: expectedExi
env: { FORCE_COLOR: '1' },
all: true
})
t.is(exitCode, expectedExitCode)

if (exitCode !== expectedExitCode) {
console.error(all)
}

t.true(all.includes(output))
t.is(exitCode, expectedExitCode)
}

test('build command - succeeds', async t => {
Expand Down

0 comments on commit 8d461fd

Please sign in to comment.