Browse Source

ci: use frozen lockfile

Evan You 4 năm trước cách đây
mục cha
commit
7915a593ea
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      .github/workflows/ci.yml

+ 3 - 3
.github/workflows/ci.yml

@@ -16,7 +16,7 @@ jobs:
         with:
           node-version: 16
           cache: 'yarn'
-      - run: yarn install
+      - run: yarn install --frozen-lockfile
       - name: Run unit tests
         run: yarn test --ci
 
@@ -29,7 +29,7 @@ jobs:
         with:
           node-version: 16
           cache: 'yarn'
-      - run: yarn install
+      - run: yarn install --frozen-lockfile
       - name: Run type declaration tests
         run: yarn test-dts
 
@@ -44,7 +44,7 @@ jobs:
         with:
           node-version: 16
           cache: 'yarn'
-      - run: yarn install
+      - run: yarn install --frozen-lockfile
       - name: Check build size
         uses: posva/size-check-action@v1.1.2
         with: