소스 검색

Merge pull request #955 from PrivateBin/node14

chore: run tests with NodeJS 14
El RIDO 4 년 전
부모
커밋
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