Skip to content
Merged
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.FBSM_NPM_RELEASE_TOKEN }}
run: |
cd dist
yarn --frozen-lockfile
yarn --immutable
yarn semantic-release
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@ npm-package/
.idea/
coverage/
test.ts
docs/
docs/

# Yarn 4 cache and state files
.yarn/cache/
.yarn/install-state.gz
.yarn/unplugged/
.yarn/build-state.yml
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"format": "cross-env prettier-eslint $PWD\"/src/**/*.{ts,tsx,js,jsx,json,css,md}\" --write"
},
"dependencies": {
"@polkadot/api": "^11.2.1",
"@polymeshassociation/signing-manager-types": "^3.3.0",
"fireblocks-sdk": "^2.5.3",
"@polkadot/api": "^11.2.1"
"fireblocks-sdk": "^2.5.3"
},
"devDependencies": {
"@commitlint/cli": "17.5.1",
"@commitlint/config-conventional": "17.4.4",
"@golevelup/ts-jest": "^0.5.6",
"@types/jest-when": "^3.5.5",
"@semantic-release/changelog": "^6.0.3",
"@types/jest": "27.4.0",
"@types/jest-when": "^3.5.5",
"@types/node": "18.15.11",
"@typescript-eslint/eslint-plugin": "5.57.0",
"@typescript-eslint/parser": "5.57.0",
Expand Down
5 changes: 3 additions & 2 deletions 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", "test.ts"]
"exclude": ["dist", "node_modules"]
}
Loading