Skip to content

Commit

Permalink
try fixing build error on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Sen Lin Application Admin committed Jun 18, 2024
1 parent 7736410 commit b85a4e8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@


def init():
print("===============================================")
print(" cleaning up ...")
os.system("npm cache clean --force")
os.system("git checkout . & git clean -xdf")
os.system("npm -v")

print("===============================================")
print(" try to install gulp-cli")
os.system("npm install gulp-cli") # nosec
os.system("npm install gulp-cli --legacy-peer-deps") # nosec

os.system("npm install --unsafe-perm") # nosec
os.system("npm install --unsafe-perm --legacy-peer-deps") # nosec

print("===============================================")
print(" complete npm install")
Expand Down

0 comments on commit b85a4e8

Please sign in to comment.