Просмотр исходного кода

Merge pull request #955 from PrivateBin/node14

chore: run tests with NodeJS 14
El RIDO 4 лет назад
Родитель
Сommit
b46b4300ec
1 измененных файлов с 2 добавлено и 2 удалено
  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