Skip to content

Commit 4df5712

Browse files
add --prefer-offline
1 parent ab2652a commit 4df5712

25 files changed

+58
-58
lines changed

.github/workflows/check-docs-site.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
node-version: 16
2525
cache: "pnpm"
2626
- name: Install
27-
run: pnpm install --frozen-lockfile
27+
run: pnpm install --frozen-lockfile --prefer-offline
2828
- name: Install Docs
2929
run: cd docs && pnpm install
3030
- name: lint

.github/workflows/comment-on-linter-error.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
node-version: 16
2929
cache: "pnpm"
3030
- name: Install
31-
run: pnpm install --frozen-lockfile
31+
run: pnpm install --frozen-lockfile --prefer-offline
3232
- name: Build
3333
run: pnpm build
3434
- name: lint

.github/workflows/hardhat-chai-matchers-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
node-version: 16
3939
cache: "pnpm"
4040
- name: Install
41-
run: pnpm install --frozen-lockfile
41+
run: pnpm install --frozen-lockfile --prefer-offline
4242
- name: Build
4343
run: pnpm build
4444
- name: Run tests
@@ -61,7 +61,7 @@ jobs:
6161
node-version: 16
6262
cache: "pnpm"
6363
- name: Install
64-
run: pnpm install --frozen-lockfile
64+
run: pnpm install --frozen-lockfile --prefer-offline
6565
- name: Build
6666
run: pnpm build
6767
- name: Run tests
@@ -85,7 +85,7 @@ jobs:
8585
node-version: ${{ matrix.node }}
8686
cache: "pnpm"
8787
- name: Install
88-
run: pnpm install --frozen-lockfile
88+
run: pnpm install --frozen-lockfile --prefer-offline
8989
- name: Build
9090
run: pnpm build
9191
- name: Run tests

.github/workflows/hardhat-core-ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
node-version: 16
3939
cache: "pnpm"
4040
- name: Install
41-
run: pnpm install --frozen-lockfile
41+
run: pnpm install --frozen-lockfile --prefer-offline
4242
- name: Build
4343
run: pnpm build
4444
- name: Run tests
@@ -62,7 +62,7 @@ jobs:
6262
node-version: 16
6363
cache: "pnpm"
6464
- name: Install
65-
run: pnpm install --frozen-lockfile
65+
run: pnpm install --frozen-lockfile --prefer-offline
6666
- name: Build
6767
run: pnpm build
6868
- name: Run tests
@@ -87,7 +87,7 @@ jobs:
8787
node-version: ${{ matrix.node }}
8888
cache: "pnpm"
8989
- name: Install
90-
run: pnpm install --frozen-lockfile
90+
run: pnpm install --frozen-lockfile --prefer-offline
9191
- name: Build
9292
run: pnpm build
9393
- name: Run tests
@@ -112,7 +112,7 @@ jobs:
112112
node-version: ${{ matrix.node }}
113113
cache: "pnpm"
114114
- name: Install
115-
run: pnpm install --frozen-lockfile
115+
run: pnpm install --frozen-lockfile --prefer-offline
116116
- name: Install @types/node
117117
run: pnpm add --save-dev @types/node@${{ matrix.node }}
118118
- name: Build

.github/workflows/hardhat-ethers-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
node-version: 16
4141
cache: "pnpm"
4242
- name: Install
43-
run: pnpm install --frozen-lockfile
43+
run: pnpm install --frozen-lockfile --prefer-offline
4444
- name: Build
4545
run: pnpm build
4646
- name: Run tests
@@ -61,7 +61,7 @@ jobs:
6161
node-version: 16
6262
cache: "pnpm"
6363
- name: Install
64-
run: pnpm install --frozen-lockfile
64+
run: pnpm install --frozen-lockfile --prefer-offline
6565
- name: Build
6666
run: pnpm build
6767
- name: Run tests
@@ -83,7 +83,7 @@ jobs:
8383
node-version: ${{ matrix.node }}
8484
cache: "pnpm"
8585
- name: Install
86-
run: pnpm install --frozen-lockfile
86+
run: pnpm install --frozen-lockfile --prefer-offline
8787
- name: Build
8888
run: pnpm build
8989
- name: Run tests

.github/workflows/hardhat-foundry-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
node-version: 16
3939
cache: "pnpm"
4040
- name: Install
41-
run: pnpm install --frozen-lockfile
41+
run: pnpm install --frozen-lockfile --prefer-offline
4242
- name: Build
4343
run: pnpm build
4444
- name: Run tests
@@ -61,7 +61,7 @@ jobs:
6161
node-version: 16
6262
cache: "pnpm"
6363
- name: Install
64-
run: pnpm install --frozen-lockfile
64+
run: pnpm install --frozen-lockfile --prefer-offline
6565
- name: Build
6666
run: pnpm build
6767
- name: Run tests
@@ -85,7 +85,7 @@ jobs:
8585
node-version: ${{ matrix.node }}
8686
cache: "pnpm"
8787
- name: Install
88-
run: pnpm install --frozen-lockfile
88+
run: pnpm install --frozen-lockfile --prefer-offline
8989
- name: Build
9090
run: pnpm build
9191
- name: Run tests

.github/workflows/hardhat-ledger-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
node-version: 16
4242
cache: "pnpm"
4343
- name: Install
44-
run: pnpm install --frozen-lockfile
44+
run: pnpm install --frozen-lockfile --prefer-offline
4545
- name: Build
4646
run: pnpm build
4747
- name: Run tests
@@ -62,7 +62,7 @@ jobs:
6262
node-version: 16
6363
cache: "pnpm"
6464
- name: Install
65-
run: pnpm install --frozen-lockfile
65+
run: pnpm install --frozen-lockfile --prefer-offline
6666
- name: Build
6767
run: pnpm build
6868
- name: Run tests
@@ -84,7 +84,7 @@ jobs:
8484
node-version: ${{ matrix.node }}
8585
cache: "pnpm"
8686
- name: Install
87-
run: pnpm install --frozen-lockfile
87+
run: pnpm install --frozen-lockfile --prefer-offline
8888
- name: Build
8989
run: pnpm build
9090
- name: Run tests

.github/workflows/hardhat-network-forking-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
node-version: 16
4747
cache: "pnpm"
4848
- name: Install
49-
run: pnpm install --frozen-lockfile
49+
run: pnpm install --frozen-lockfile --prefer-offline
5050
- name: Cache network requests
5151
uses: actions/cache@v2
5252
with:

.github/workflows/hardhat-network-helpers-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
node-version: 16
3939
cache: "pnpm"
4040
- name: Install
41-
run: pnpm install --frozen-lockfile
41+
run: pnpm install --frozen-lockfile --prefer-offline
4242
- name: Build
4343
run: pnpm build
4444
- name: Run tests
@@ -61,7 +61,7 @@ jobs:
6161
node-version: 16
6262
cache: "pnpm"
6363
- name: Install
64-
run: pnpm install --frozen-lockfile
64+
run: pnpm install --frozen-lockfile --prefer-offline
6565
- name: Build
6666
run: pnpm build
6767
- name: Run tests
@@ -85,7 +85,7 @@ jobs:
8585
node-version: ${{ matrix.node }}
8686
cache: "pnpm"
8787
- name: Install
88-
run: pnpm install --frozen-lockfile
88+
run: pnpm install --frozen-lockfile --prefer-offline
8989
- name: Build
9090
run: pnpm build
9191
- name: Run tests

.github/workflows/hardhat-network-tracing-all-solc-versions.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
node-version: ${{ matrix.node }}
3131
cache: "pnpm"
3232
- name: Install
33-
run: pnpm install --frozen-lockfile
33+
run: pnpm install --frozen-lockfile --prefer-offline
3434
- name: Build
3535
run: pnpm build
3636
- name: Cache artifacts

.github/workflows/hardhat-network-tracing-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
node-version: ${{ matrix.node }}
4242
cache: "pnpm"
4343
- name: Install
44-
run: pnpm install --frozen-lockfile
44+
run: pnpm install --frozen-lockfile --prefer-offline
4545
- name: Build
4646
run: pnpm build
4747
- name: Cache artifacts

.github/workflows/hardhat-shorthand-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
node-version: 16
4141
cache: "pnpm"
4242
- name: Install
43-
run: pnpm install --frozen-lockfile
43+
run: pnpm install --frozen-lockfile --prefer-offline
4444
- name: Build
4545
run: pnpm build
4646
- name: Run tests
@@ -61,7 +61,7 @@ jobs:
6161
node-version: 16
6262
cache: "pnpm"
6363
- name: Install
64-
run: pnpm install --frozen-lockfile
64+
run: pnpm install --frozen-lockfile --prefer-offline
6565
- name: Build
6666
run: pnpm build
6767
- name: Run tests
@@ -83,7 +83,7 @@ jobs:
8383
node-version: ${{ matrix.node }}
8484
cache: "pnpm"
8585
- name: Install
86-
run: pnpm install --frozen-lockfile
86+
run: pnpm install --frozen-lockfile --prefer-offline
8787
- name: Build
8888
run: pnpm build
8989
- name: Run tests

.github/workflows/hardhat-solhint-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
node-version: 16
4141
cache: "pnpm"
4242
- name: Install
43-
run: pnpm install --frozen-lockfile
43+
run: pnpm install --frozen-lockfile --prefer-offline
4444
- name: Build
4545
run: pnpm build
4646
- name: Run tests
@@ -61,7 +61,7 @@ jobs:
6161
node-version: 16
6262
cache: "pnpm"
6363
- name: Install
64-
run: pnpm install --frozen-lockfile
64+
run: pnpm install --frozen-lockfile --prefer-offline
6565
- name: Build
6666
run: pnpm build
6767
- name: Run tests
@@ -83,7 +83,7 @@ jobs:
8383
node-version: ${{ matrix.node }}
8484
cache: "pnpm"
8585
- name: Install
86-
run: pnpm install --frozen-lockfile
86+
run: pnpm install --frozen-lockfile --prefer-offline
8787
- name: Build
8888
run: pnpm build
8989
- name: Run tests

.github/workflows/hardhat-solpp-ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
node-version: 16
4343
cache: "pnpm"
4444
- name: Install
45-
run: pnpm install --frozen-lockfile
45+
run: pnpm install --frozen-lockfile --prefer-offline
4646
- name: Build
4747
run: pnpm build
4848
- name: Run tests
@@ -64,7 +64,7 @@ jobs:
6464
node-version: ${{ matrix.node }}
6565
cache: "pnpm"
6666
- name: Install
67-
run: pnpm install --frozen-lockfile
67+
run: pnpm install --frozen-lockfile --prefer-offline
6868
- name: Build
6969
run: pnpm build
7070
- name: Run tests

.github/workflows/hardhat-toolbox-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
node-version: 16
4949
cache: "pnpm"
5050
- name: Install
51-
run: pnpm install --frozen-lockfile
51+
run: pnpm install --frozen-lockfile --prefer-offline
5252
- name: Build
5353
run: pnpm build
5454
- name: Run tests
@@ -69,7 +69,7 @@ jobs:
6969
node-version: 16
7070
cache: "pnpm"
7171
- name: Install
72-
run: pnpm install --frozen-lockfile
72+
run: pnpm install --frozen-lockfile --prefer-offline
7373
- name: Build
7474
run: pnpm build
7575
- name: Run tests
@@ -91,7 +91,7 @@ jobs:
9191
node-version: ${{ matrix.node }}
9292
cache: "pnpm"
9393
- name: Install
94-
run: pnpm install --frozen-lockfile
94+
run: pnpm install --frozen-lockfile --prefer-offline
9595
- name: Build
9696
run: pnpm build
9797
- name: Run tests

.github/workflows/hardhat-truffle4-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
node-version: 16
4343
cache: "pnpm"
4444
- name: Install
45-
run: pnpm install --frozen-lockfile
45+
run: pnpm install --frozen-lockfile --prefer-offline
4646
- name: Build
4747
run: pnpm build
4848
- name: Run tests
@@ -63,7 +63,7 @@ jobs:
6363
node-version: 16
6464
cache: "pnpm"
6565
- name: Install
66-
run: pnpm install --frozen-lockfile
66+
run: pnpm install --frozen-lockfile --prefer-offline
6767
- name: Build
6868
run: pnpm build
6969
- name: Run tests
@@ -85,7 +85,7 @@ jobs:
8585
node-version: ${{ matrix.node }}
8686
cache: "pnpm"
8787
- name: Install
88-
run: pnpm install --frozen-lockfile
88+
run: pnpm install --frozen-lockfile --prefer-offline
8989
- name: Build
9090
run: pnpm build
9191
- name: Run tests

.github/workflows/hardhat-truffle5-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
node-version: 16
4343
cache: "pnpm"
4444
- name: Install
45-
run: pnpm install --frozen-lockfile
45+
run: pnpm install --frozen-lockfile --prefer-offline
4646
- name: Build
4747
run: pnpm build
4848
- name: Run tests
@@ -63,7 +63,7 @@ jobs:
6363
node-version: 16
6464
cache: "pnpm"
6565
- name: Install
66-
run: pnpm install --frozen-lockfile
66+
run: pnpm install --frozen-lockfile --prefer-offline
6767
- name: Build
6868
run: pnpm build
6969
- name: Run tests
@@ -85,7 +85,7 @@ jobs:
8585
node-version: ${{ matrix.node }}
8686
cache: "pnpm"
8787
- name: Install
88-
run: pnpm install --frozen-lockfile
88+
run: pnpm install --frozen-lockfile --prefer-offline
8989
- name: Build
9090
run: pnpm build
9191
- name: Run tests

.github/workflows/hardhat-verify-ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
node-version: 16
4141
cache: "pnpm"
4242
- name: Install
43-
run: pnpm install --frozen-lockfile
43+
run: pnpm install --frozen-lockfile --prefer-offline
4444
- name: Build
4545
run: pnpm build
4646
- name: Run tests
@@ -61,7 +61,7 @@ jobs:
6161
node-version: 16
6262
cache: "pnpm"
6363
- name: Install
64-
run: pnpm install --frozen-lockfile
64+
run: pnpm install --frozen-lockfile --prefer-offline
6565
- name: Build
6666
run: pnpm build
6767
- name: Run tests
@@ -83,7 +83,7 @@ jobs:
8383
node-version: ${{ matrix.node }}
8484
cache: "pnpm"
8585
- name: Install
86-
run: pnpm install --frozen-lockfile
86+
run: pnpm install --frozen-lockfile --prefer-offline
8787
- name: Build
8888
run: pnpm build
8989
- name: Run tests

0 commit comments

Comments
 (0)