Skip to content

Commit 76f490e

Browse files
authored
fix: CI pipeline (#929)
* Disable compression * Update playwright dep * Fix lints
1 parent 6eb7def commit 76f490e

File tree

4 files changed

+55
-20
lines changed

4 files changed

+55
-20
lines changed

.yarnrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ npmPublishAccess: public
55
npmPublishRegistry: "https://registry.npmjs.org"
66

77
yarnPath: .yarn/releases/yarn-4.1.1.cjs
8+
9+
compressionLevel: 0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@babel/preset-env": "^7.20.2",
4949
"@commitlint/cli": "^9.0.1",
5050
"@commitlint/config-conventional": "^9.0.1",
51-
"@playwright/test": "^1.21.1",
51+
"@playwright/test": "^1.49.1",
5252
"@types/jest": "^29.5.3",
5353
"@typescript-eslint/eslint-plugin": "^5.7.0",
5454
"@typescript-eslint/parser": "^5.7.0",

packages/chain-helpers/src/blockchain/Blockchain.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,14 @@ export async function signTx(
220220
): Promise<SubmittableExtrinsic> {
221221
const signOptions: Partial<SignerOptions> = checkMetadata
222222
? {
223-
tip,
224-
// Required as described in https://github.com/polkadot-js/api/blob/109d3b2201ea51f27180e34dfd883ec71d402f6b/packages/api-base/src/types/submittable.ts#L79.
225-
metadataHash: await getMetadataHash(ConfigService.get('api')),
226-
// Used by external signers to to know there's additional data to be included in the payload (see link above).
227-
withSignedTransaction: true,
228-
// Forces the tx to fail if the metadata does not match (added for backward compatibility). See https://paritytech.github.io/polkadot-sdk/master/frame_metadata_hash_extension/struct.CheckMetadataHash.html.
229-
mode: 1,
230-
}
223+
tip,
224+
// Required as described in https://github.com/polkadot-js/api/blob/109d3b2201ea51f27180e34dfd883ec71d402f6b/packages/api-base/src/types/submittable.ts#L79.
225+
metadataHash: await getMetadataHash(ConfigService.get('api')),
226+
// Used by external signers to to know there's additional data to be included in the payload (see link above).
227+
withSignedTransaction: true,
228+
// Forces the tx to fail if the metadata does not match (added for backward compatibility). See https://paritytech.github.io/polkadot-sdk/master/frame_metadata_hash_extension/struct.CheckMetadataHash.html.
229+
mode: 1,
230+
}
231231
: { tip }
232232

233233
if ('address' in signer) {

yarn.lock

Lines changed: 44 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2412,15 +2412,14 @@ __metadata:
24122412
languageName: node
24132413
linkType: hard
24142414

2415-
"@playwright/test@npm:^1.21.1":
2416-
version: 1.28.1
2417-
resolution: "@playwright/test@npm:1.28.1"
2415+
"@playwright/test@npm:^1.49.1":
2416+
version: 1.49.1
2417+
resolution: "@playwright/test@npm:1.49.1"
24182418
dependencies:
2419-
"@types/node": "npm:*"
2420-
playwright-core: "npm:1.28.1"
2419+
playwright: "npm:1.49.1"
24212420
bin:
24222421
playwright: cli.js
2423-
checksum: 10c0/700454f5089a6631a2f80f8ded2c56c7e30928f98aa4fa0b0c339355f5b1d755ca559396d92e44e20766713b3b342d4a1a50888c642c8109ba0d46eb9a2beb09
2422+
checksum: 10c0/2fca0bb7b334f7a23c7c5dfa5dbe37b47794c56f39b747c8d74a2f95c339e7902a296f2f1dd32c47bdd723cfa92cee05219f1a5876725dc89a1871b9137a286d
24242423
languageName: node
24252424
linkType: hard
24262425

@@ -5963,6 +5962,16 @@ __metadata:
59635962
languageName: node
59645963
linkType: hard
59655964

5965+
"fsevents@npm:2.3.2":
5966+
version: 2.3.2
5967+
resolution: "fsevents@npm:2.3.2"
5968+
dependencies:
5969+
node-gyp: "npm:latest"
5970+
checksum: 10c0/be78a3efa3e181cda3cf7a4637cb527bcebb0bd0ea0440105a3bb45b86f9245b307dc10a2507e8f4498a7d4ec349d1910f4d73e4d4495b16103106e07eee735b
5971+
conditions: os=darwin
5972+
languageName: node
5973+
linkType: hard
5974+
59665975
"fsevents@npm:^2.3.2":
59675976
version: 2.3.3
59685977
resolution: "fsevents@npm:2.3.3"
@@ -5973,6 +5982,15 @@ __metadata:
59735982
languageName: node
59745983
linkType: hard
59755984

5985+
"fsevents@patch:fsevents@npm%3A2.3.2#optional!builtin<compat/fsevents>":
5986+
version: 2.3.2
5987+
resolution: "fsevents@patch:fsevents@npm%3A2.3.2#optional!builtin<compat/fsevents>::version=2.3.2&hash=df0bf1"
5988+
dependencies:
5989+
node-gyp: "npm:latest"
5990+
conditions: os=darwin
5991+
languageName: node
5992+
linkType: hard
5993+
59765994
"fsevents@patch:fsevents@npm%3A^2.3.2#optional!builtin<compat/fsevents>":
59775995
version: 2.3.3
59785996
resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin<compat/fsevents>::version=2.3.3&hash=df0bf1"
@@ -8326,12 +8344,27 @@ __metadata:
83268344
languageName: node
83278345
linkType: hard
83288346

8329-
"playwright-core@npm:1.28.1":
8330-
version: 1.28.1
8331-
resolution: "playwright-core@npm:1.28.1"
8347+
"playwright-core@npm:1.49.1":
8348+
version: 1.49.1
8349+
resolution: "playwright-core@npm:1.49.1"
8350+
bin:
8351+
playwright-core: cli.js
8352+
checksum: 10c0/990b619c75715cd98b2c10c1180a126e3a454b247063b8352bc67792fe01183ec07f31d30c8714c3768cefed12886d1d64ac06da701f2baafc2cad9b439e3919
8353+
languageName: node
8354+
linkType: hard
8355+
8356+
"playwright@npm:1.49.1":
8357+
version: 1.49.1
8358+
resolution: "playwright@npm:1.49.1"
8359+
dependencies:
8360+
fsevents: "npm:2.3.2"
8361+
playwright-core: "npm:1.49.1"
8362+
dependenciesMeta:
8363+
fsevents:
8364+
optional: true
83328365
bin:
83338366
playwright: cli.js
8334-
checksum: 10c0/ad6dcdd57b1be811443a352eab3ce7b6adb06204a784a76dfa5b41c15e84d96c0bfff931573da2d04f15f4a4f3dd26995afbe84c2cb377576de84168f51c3723
8367+
checksum: 10c0/2368762c898920d4a0a5788b153dead45f9c36c3f5cf4d2af5228d0b8ea65823e3bbe998877950a2b9bb23a211e4633996f854c6188769dc81a25543ac818ab5
83358368
languageName: node
83368369
linkType: hard
83378370

@@ -8806,7 +8839,7 @@ __metadata:
88068839
"@babel/preset-env": "npm:^7.20.2"
88078840
"@commitlint/cli": "npm:^9.0.1"
88088841
"@commitlint/config-conventional": "npm:^9.0.1"
8809-
"@playwright/test": "npm:^1.21.1"
8842+
"@playwright/test": "npm:^1.49.1"
88108843
"@types/jest": "npm:^29.5.3"
88118844
"@typescript-eslint/eslint-plugin": "npm:^5.7.0"
88128845
"@typescript-eslint/parser": "npm:^5.7.0"

0 commit comments

Comments
 (0)