use both npm and yarn in ci

This commit is contained in:
R. Andrew Ohana
2018-06-21 20:35:04 -07:00
parent 5adda0d591
commit cc1db03e5a
5 changed files with 4915 additions and 12 deletions

View File

@ -427,7 +427,6 @@ impl Project {
if !Path::new("node_modules").exists() {
panic!("\n\nfailed to find `node_modules`, have you run `npm install` yet?\n\n");
}
fs::hard_link("package-lock.json", root.join("package-lock.json")).unwrap();
let cwd = env::current_dir().unwrap();
symlink_dir(&cwd.join("node_modules"), &root.join("node_modules")).unwrap();
@ -539,4 +538,4 @@ mod structural;
mod u64;
mod webidl;
mod comments;
mod validate_prt;
mod validate_prt;