build(ci): fail if pnpm lockfile is not up2date
[e-mobility-charging-stations-simulator.git] / .github / workflows / ci.yml
index 57acc06c3f90cc9ea9eb2d5e0c8f470dcb363601..e88393ece8b4143a5afd6435f3341391b3385db3 100644 (file)
@@ -51,7 +51,7 @@ jobs:
           node-version: ${{ matrix.node }}
           cache: 'pnpm'
       - name: pnpm install
-        run: pnpm install --ignore-scripts
+        run: pnpm install --ignore-scripts --frozen-lockfile
       - name: pnpm lint
         if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
         run: pnpm lint
@@ -101,7 +101,7 @@ jobs:
           node-version: ${{ matrix.node }}
           cache: 'pnpm'
       - name: pnpm install
-        run: pnpm install --ignore-scripts
+        run: pnpm install --ignore-scripts --frozen-lockfile
       - name: pnpm lint
         if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == '20.x' }}
         run: pnpm lint