Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

# npm install
print("Running npm install...")
result = subprocess.run(["npm", "install"], env=env, shell=True)
result = subprocess.run("npm install", env=env, shell=True)
if result.returncode != 0:
print("npm install failed")
sys.exit(result.returncode)

# npm run build
print("Running npm run build...")
result = subprocess.run(["npm", "run", "build"], env=env, shell=True)
result = subprocess.run("npm run build", env=env, shell=True)
if result.returncode != 0:
print("npm run build failed")
sys.exit(result.returncode)
Expand All @@ -50,5 +50,5 @@

# npm test
print("Running npm test...")
result = subprocess.run(["npm", "test"], env=env, shell=True)
result = subprocess.run("npm test", env=env, shell=True)
sys.exit(result.returncode)
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

# npm install
print("Running npm install...")
result = subprocess.run(["npm", "install"], env=env, shell=True)
result = subprocess.run("npm install", env=env, shell=True)
if result.returncode != 0:
print("npm install failed")
sys.exit(result.returncode)

# npm run build
print("Running npm run build...")
result = subprocess.run(["npm", "run", "build"], env=env, shell=True)
result = subprocess.run("npm run build", env=env, shell=True)
if result.returncode != 0:
print("npm run build failed")
sys.exit(result.returncode)
Expand Down