Skip to content

Commit

Permalink
build(ci): fail if pnpm lockfile is not up2date
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <[email protected]>
  • Loading branch information
Jérôme Benoit committed Oct 1, 2023
1 parent fa3340b commit d9d8bb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN set -ex \
&& corepack prepare pnpm@latest --activate \
&& pnpm set progress=false \
&& pnpm config set depth 0 \
&& pnpm install --ignore-scripts \
&& pnpm install --ignore-scripts --frozen-lockfile \
&& pnpm build \
&& apk del .gyp

Expand All @@ -24,7 +24,7 @@ RUN set -ex \
&& corepack prepare pnpm@latest --activate \
&& pnpm set progress=false \
&& pnpm config set depth 0 \
&& pnpm install --ignore-scripts \
&& pnpm install --ignore-scripts --frozen-lockfile \
&& pnpm build

FROM node:lts-alpine
Expand Down

0 comments on commit d9d8bb3

Please sign in to comment.