浏览代码

ci: use `--immutable` instead of `--frozen-lockfile`

Bryan Lee 2 年之前
父节点
当前提交
4a1bd95f47
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/lint.yml

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

@@ -36,8 +36,8 @@ jobs:
           path: node_modules
           key: npm-cache-lint-node@16
 
-      - name: 'Install dependencies'
-        run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
+      - name: Install dependencies
+        run: yarn install --immutable --registry https://registry.npmjs.org --network-timeout 300000
 
       - name: ESLint
         run: yarn lint