Skip to content

Commit 32baa5d

Browse files
committed
chore: 🤖 use yarn v4
1 parent ebffa12 commit 32baa5d

6 files changed

Lines changed: 17628 additions & 55 deletions

File tree

.github/workflows/main.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ jobs:
1414
CI: true
1515
steps:
1616
- uses: actions/checkout@v4
17+
- name: Enable corepack
18+
run: corepack enable
1719
- uses: actions/setup-node@v4
1820
with:
19-
node-version: '18.x'
21+
node-version: '22.x'
2022
cache: 'yarn'
2123
- name: install dependencies
22-
run: yarn --frozen-lockfile
24+
run: yarn --immutable
2325
- name: lint
2426
run: yarn lint
2527

@@ -30,12 +32,14 @@ jobs:
3032
CI: true
3133
steps:
3234
- uses: actions/checkout@v4
35+
- name: Enable corepack
36+
run: corepack enable
3337
- uses: actions/setup-node@v4
3438
with:
35-
node-version: '18.x'
39+
node-version: '22.x'
3640
cache: 'yarn'
3741
- name: install dependencies
38-
run: yarn --frozen-lockfile
42+
run: yarn --immutable
3943
- name: test
4044
run: yarn test
4145

@@ -45,12 +49,14 @@ jobs:
4549
needs: [lint, test]
4650
steps:
4751
- uses: actions/checkout@v4
52+
- name: Enable corepack
53+
run: corepack enable
4854
- uses: actions/setup-node@v4
4955
with:
5056
node-version: '22.x'
5157
cache: 'yarn'
5258
- name: install dependencies
53-
run: yarn --frozen-lockfile
59+
run: yarn --immutable
5460
- name: build
5561
run: |
5662
yarn build:ts
@@ -62,5 +68,5 @@ jobs:
6268
NPM_TOKEN: ${{ secrets.HVSM_NPM_RELEASE_TOKEN }}
6369
run: |
6470
cd dist
65-
yarn --frozen-lockfile
71+
yarn --immutable
6672
yarn semantic-release

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ npm-package/
66
.idea/
77
coverage/
88
test.ts
9-
docs/
9+
docs/
10+
.yarn/

.yarn/install-state.gz

1.1 MB
Binary file not shown.

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"ts-jest": "^29.1.0",
4949
"ttypescript": "1.5.15",
5050
"typedoc": "0.23.18",
51-
"typescript": "4.6.2"
51+
"typescript": "4.9.5"
5252
},
5353
"config": {
5454
"commitizen": {
@@ -59,9 +59,17 @@
5959
"access": "public"
6060
},
6161
"dependencies": {
62+
<<<<<<< Updated upstream
63+
"@polkadot/api": "^11.2.1",
64+
=======
65+
<<<<<<< Updated upstream
66+
>>>>>>> Stashed changes
6267
"@polymeshassociation/signing-manager-types": "^3.3.0",
68+
=======
69+
"@polkadot/api": "16.5.2",
70+
"@polymeshassociation/signing-manager-types": "^3.5.0",
71+
>>>>>>> Stashed changes
6372
"cross-fetch": "^4.0.0",
64-
"@polkadot/api": "^11.2.1",
6573
"tslib": "^2.0.0"
6674
},
6775
"repository": {

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"esModuleInterop": true,
2222
"resolveJsonModule": true,
2323
"lib": ["es2017", "dom"],
24-
"typeRoots": ["./node_modules/@types", "./src/typings"]
24+
"typeRoots": ["./node_modules/@types", "./src/typings"],
25+
"types": ["@types/jest"]
2526
},
2627
"exclude": ["dist", "node_modules", "**/__tests__"]
2728
}

0 commit comments

Comments
 (0)