Update SPA tests to skip npm-restore
This commit is contained in:
parent
223bc83db7
commit
7a606a46bb
2 changed files with 11 additions and 8 deletions
|
@ -59,6 +59,8 @@ namespace Microsoft.DotNet.New.Tests
|
|||
// Not all CI machines have Node installed, so the build would fail if we tried
|
||||
// to run Webpack. Bypass this by making it appear that Webpack already ran.
|
||||
Directory.CreateDirectory(Path.Combine(rootPath, "wwwroot", "dist"));
|
||||
Directory.CreateDirectory(Path.Combine(rootPath, "ClientApp", "node_modules"));
|
||||
Directory.CreateDirectory(Path.Combine(rootPath, "node_modules"));
|
||||
}
|
||||
|
||||
new TestCommand("dotnet")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue