Browse Source

Update build.yml

guanjinquan 1 year ago
parent
commit
3c550c3a9e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .github/workflows/build.yml

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

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