Skip to content

Commit 544fede

Browse files
author
issayah
committed
ci: freeze lockfile when installing to stop error
1 parent 7b508da commit 544fede

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
cache: 'pnpm'
3434

3535
- name: Install dependencies
36-
run: pnpm install --ignore-scripts
36+
run: pnpm install --ignore-scripts --frozen-lockfile
3737

3838
- name: Build library
3939
run: pnpm run build
@@ -59,7 +59,7 @@ jobs:
5959
cache: 'pnpm'
6060

6161
- name: Install dependencies
62-
run: pnpm install --ignore-scripts
62+
run: pnpm install --ignore-scripts --frozen-lockfile
6363

6464
- name: Test lint
6565
run: pnpm run test:lint
@@ -85,7 +85,7 @@ jobs:
8585
cache: 'pnpm'
8686

8787
- name: Install dependencies
88-
run: pnpm install --ignore-scripts
88+
run: pnpm install --ignore-scripts --frozen-lockfile
8989

9090
- name: Test unit
9191
run: pnpm run test:unit
@@ -112,7 +112,7 @@ jobs:
112112
cache: 'pnpm'
113113

114114
- name: Install dependencies
115-
run: pnpm install --ignore-scripts
115+
run: pnpm install --ignore-scripts --frozen-lockfile
116116

117117
- name: Test coverage
118118
run: pnpm run test:coverage

.github/workflows/docs-github-pages-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
cache: 'pnpm'
3535

3636
- name: Install dependencies
37-
run: pnpm install --ignore-scripts
37+
run: pnpm install --ignore-scripts --frozen-lockfile
3838

3939
- name: Build library
4040
run: pnpm run build

.github/workflows/npm-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
cache: 'pnpm'
3131

3232
- name: Install dependencies
33-
run: pnpm install --ignore-scripts
33+
run: pnpm install --ignore-scripts --frozen-lockfile
3434

3535
- name: Build library
3636
run: pnpm run build

.github/workflows/release-dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
if: ${{ steps.release.outputs.releases_created }}
5353

5454
- name: Install dependencies
55-
run: pnpm install --ignore-scripts
55+
run: pnpm install --ignore-scripts --frozen-lockfile
5656
if: ${{ steps.release.outputs.releases_created }}
5757

5858
- name: Build library

.github/workflows/release-main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
if: ${{ steps.release.outputs.releases_created }}
5353

5454
- name: Install dependencies
55-
run: pnpm install --ignore-scripts
55+
run: pnpm install --ignore-scripts --frozen-lockfile
5656
if: ${{ steps.release.outputs.releases_created }}
5757

5858
- name: Build library

0 commit comments

Comments
 (0)