build(ci): fail if pnpm lockfile is not up2date
[poolifier.git] / .github / workflows / publish-package.yml
index ef3fc5fe24cd533810431f0da32be922f0934447..58adce749c1e468009ce755150a2b1756fc496d4 100644 (file)
@@ -24,7 +24,7 @@ jobs:
           cache: 'pnpm'
 
       - name: Install Dependencies
-        run: pnpm install --ignore-scripts
+        run: pnpm install --ignore-scripts --frozen-lockfile
 
       - name: Tests & Coverage
         run: |
@@ -58,7 +58,7 @@ jobs:
           cache: 'pnpm'
 
       - name: Install Dependencies
-        run: pnpm install --ignore-scripts
+        run: pnpm install --ignore-scripts --frozen-lockfile
 
       - name: Read package.json version
         id: package-version
@@ -106,7 +106,7 @@ jobs:
   #         cache: 'pnpm'
 
   #     - name: Install Dependencies
-  #       run: pnpm install --ignore-scripts
+  #       run: pnpm install --ignore-scripts --frozen-lockfile
 
   #     - name: Read package.json version
   #       id: package-version