瀏覽代碼

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