瀏覽代碼

Merge pull request #7 from DragonOS-Community/guanjinquan-patch-3

Update build.yml
guanjinquan 1 年之前
父節點
當前提交
5e4c885920
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .github/workflows/build.yml

+ 4 - 0
.github/workflows/build.yml

@@ -25,6 +25,8 @@ jobs:
   # Build job
   # Build job
   build:
   build:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
+    env:
+      NODE_OPTIONS: --openssl-legacy-provider
     steps:
     steps:
       - name: Checkout
       - name: Checkout
         uses: actions/checkout@v3
         uses: actions/checkout@v3
@@ -34,6 +36,8 @@ jobs:
       
       
       - name: Setup Node.js environment
       - name: Setup Node.js environment
         uses: actions/setup-node@v3.7.0
         uses: actions/setup-node@v3.7.0
+        with: 
+          node-version: 12.x
         
         
       - name: Run docs
       - name: Run docs
         run: |
         run: |