Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ jobs:
CI: true
steps:
- uses: actions/checkout@v4
- name: Enable corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '22.x'
cache: 'yarn'
- name: install dependencies
run: yarn --frozen-lockfile
run: yarn --immutable
- name: lint
run: yarn lint

Expand All @@ -30,12 +32,14 @@ jobs:
CI: true
steps:
- uses: actions/checkout@v4
- name: Enable corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '22.x'
cache: 'yarn'
- name: install dependencies
run: yarn --frozen-lockfile
run: yarn --immutable
- name: test
run: yarn test

Expand All @@ -45,12 +49,14 @@ jobs:
needs: [lint, test]
steps:
- uses: actions/checkout@v4
- name: Enable corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: 'yarn'
- name: install dependencies
run: yarn --frozen-lockfile
run: yarn --immutable
- name: build
run: |
yarn build:ts
Expand All @@ -62,5 +68,5 @@ jobs:
NPM_TOKEN: ${{ secrets.HVSM_NPM_RELEASE_TOKEN }}
run: |
cd dist
yarn --frozen-lockfile
yarn --immutable
yarn semantic-release
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ npm-package/
.idea/
coverage/
test.ts
docs/
docs/
.yarn/
Binary file added .yarn/install-state.gz
Binary file not shown.
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"ts-jest": "^29.1.0",
"ttypescript": "1.5.15",
"typedoc": "0.23.18",
"typescript": "4.6.2"
"typescript": "4.9.5"
},
"config": {
"commitizen": {
Expand All @@ -59,9 +59,17 @@
"access": "public"
},
"dependencies": {
<<<<<<< Updated upstream
"@polkadot/api": "^11.2.1",
=======
<<<<<<< Updated upstream
>>>>>>> Stashed changes
"@polymeshassociation/signing-manager-types": "^3.3.0",
=======
"@polkadot/api": "16.5.2",
"@polymeshassociation/signing-manager-types": "^3.5.0",
>>>>>>> Stashed changes
"cross-fetch": "^4.0.0",
"@polkadot/api": "^11.2.1",
"tslib": "^2.0.0"
},
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"esModuleInterop": true,
"resolveJsonModule": true,
"lib": ["es2017", "dom"],
"typeRoots": ["./node_modules/@types", "./src/typings"]
"typeRoots": ["./node_modules/@types", "./src/typings"],
"types": ["@types/jest"]
},
"exclude": ["dist", "node_modules", "**/__tests__"]
}
Loading
Loading