From: Jérôme Benoit Date: Sun, 1 Oct 2023 20:21:44 +0000 (+0200) Subject: build(ci): fail if pnpm lockfile is not up2date X-Git-Tag: v2.7.5~8 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c1a37d9809b0a6563a07795b182df7b0ee6da959;p=poolifier.git build(ci): fail if pnpm lockfile is not up2date Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3419c571..9f28cc57 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: cache: 'pnpm' - name: Install Dependencies - run: pnpm install --ignore-scripts + run: pnpm install --ignore-scripts --frozen-lockfile - name: Build run: pnpm build diff --git a/.github/workflows/generate-documentation.yml b/.github/workflows/generate-documentation.yml index 0555ad8b..f8cf8e73 100644 --- a/.github/workflows/generate-documentation.yml +++ b/.github/workflows/generate-documentation.yml @@ -24,7 +24,7 @@ jobs: - name: Generate documentation run: | - pnpm install --ignore-scripts + pnpm install --ignore-scripts --frozen-lockfile pnpm typedoc - name: Commit files diff --git a/.github/workflows/internal-benchmark.yml b/.github/workflows/internal-benchmark.yml index b837bcd4..884bb3f8 100644 --- a/.github/workflows/internal-benchmark.yml +++ b/.github/workflows/internal-benchmark.yml @@ -27,7 +27,7 @@ jobs: node-version: '18.x' cache: 'pnpm' - name: Install dependencies - run: pnpm install --ignore-scripts + run: pnpm install --ignore-scripts --frozen-lockfile - name: Run production benchmark run: pnpm benchmark:prod | tee ./benchmarks/internal/output.txt - name: Store production benchmark result diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index ef3fc5fe..58adce74 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -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 diff --git a/examples/typescript/build.sh b/examples/typescript/build.sh index 2ebc5df0..8a8a4360 100755 --- a/examples/typescript/build.sh +++ b/examples/typescript/build.sh @@ -8,7 +8,7 @@ for example in $examples do echo -e "Building $example" cd $example - pnpm install --ignore-scripts + pnpm install --ignore-scripts --frozen-lockfile pnpm build cd - done