浏览代码

add legacy-peer-deps flag to workflow

Alexander Belanger 4 年之前
父节点
当前提交
863b42d05b
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      .github/workflows/prerelease.yaml

+ 1 - 1
.github/workflows/prerelease.yaml

@@ -134,7 +134,7 @@ jobs:
         run: |
           mkdir -p ./release/static
           cd dashboard
-          npm i --production=false
+          npm i --production=false --legacy-peer-deps
           npm run build
           cd ..
           zip --junk-paths ./release/static/static_${{steps.tag_name.outputs.tag}}.zip ./dashboard/build/*