mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-07 17:15:30 +02:00
Replace pnpm with npm in workflows and scripts for consistency across the project
This commit is contained in:
parent
ff1c57c5a3
commit
24d8e7a5d7
12 changed files with 50 additions and 116 deletions
|
@ -18,8 +18,8 @@ def update_rc(last_version: str):
|
|||
with open("surfer.json", "w") as f:
|
||||
data["version"]["candidate"] = rc_version
|
||||
json.dump(data, f, indent=2)
|
||||
print("Download the new engine by running 'pnpm download'.")
|
||||
os.system("pnpm download")
|
||||
print("Download the new engine by running 'npm run download'.")
|
||||
os.system("npm run download")
|
||||
else:
|
||||
print("No new Firefox RC version available.")
|
||||
|
||||
|
@ -28,7 +28,7 @@ def update_ff(is_rc: bool = False, last_version: str = ""):
|
|||
"""Runs the npm command to update the 'ff' component."""
|
||||
if is_rc:
|
||||
return update_rc(last_version)
|
||||
result = os.system("pnpm update-ff:raw")
|
||||
result = os.system("npm run update-ff:raw")
|
||||
if result != 0:
|
||||
raise RuntimeError("Failed to update 'ff' component.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue