浏览代码

Use npm ci instead of npm install for tests in CI

So it uses the package-json.lock file actually.
rugk 4 年之前
父节点
当前提交
08946d1cab
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      .github/workflows/tests.yml

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

@@ -112,7 +112,7 @@ jobs:
       run: npm install -g mocha
       
     - name: Setup Node modules
-      run: npm install
+      run: npm ci
       working-directory: js
       
     - name: Run unit tests