Răsfoiți Sursa

Merge pull request #955 from PrivateBin/node14

chore: run tests with NodeJS 14
El RIDO 4 ani în urmă
părinte
comite
b46b4300ec
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      .github/workflows/tests.yml

+ 2 - 2
.github/workflows/tests.yml

@@ -104,7 +104,7 @@ jobs:
     - name: Setup Node
       uses: actions/setup-node@v3
       with:
-        node-version: '12'
+        node-version: '14'
         cache: 'npm'
         cache-dependency-path: 'js/package-lock.json'
         
@@ -116,6 +116,6 @@ jobs:
       working-directory: js
       
     - name: Run unit tests
-      run: mocha
+      run: npm test
       working-directory: js