Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 90e2fa6

Browse files
feat: added util functions (#30)
* refactor: cleanup * feat: added functions * fix: lint * feat: added functions * fix: export type annotation * refacotor: clean up * fix: update polkadot version * fix: updated some tests * fix: update pr-any.yml * fix: rollback * test: CI test * feat: added test code * Version/build fix * stakers * v0.1.13 --------- Co-authored-by: Github Actions <action@github.com>
1 parent 0465a52 commit 90e2fa6

43 files changed

Lines changed: 8692 additions & 34852 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.DS_Store‎

6 KB
Binary file not shown.

‎.eslintrc.js‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ module.exports = {
2020
rules: {
2121
...base.rules,
2222
'@typescript-eslint/no-explicit-any': 'off',
23+
'@typescript-eslint/no-unsafe-assignment': 'off',
24+
'@typescript-eslint/no-unsafe-call': 'off',
25+
'@typescript-eslint/no-unsafe-member-access': 'off',
26+
'@typescript-eslint/no-unsafe-argument': 'off',
27+
'@typescript-eslint/ban-ts-comment': 'off',
28+
'@typescript-eslint/no-unsafe-return': 'off',
29+
'@typescript-eslint/no-unused-vars': 'off',
30+
curly: 'off',
31+
'array-callback-return': 'off',
32+
'no-useless-escape': 'off',
2333
'header/header': 'off',
2434
'sort-keys': 'off',
2535
'simple-import-sort/imports': 'off',

‎.github/workflows/pr-any.yml‎

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR
1+
name: PR Check
22
on: [pull_request]
33

44
jobs:
@@ -7,48 +7,49 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node-version: [14.x]
10+
node-version: [18.x]
1111
steps:
12-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v2
1313
- name: Use Node.js ${{ matrix.node-version }}
14-
uses: actions/setup-node@v1
14+
uses: actions/setup-node@v2
1515
with:
1616
node-version: ${{ matrix.node-version }}
1717
- name: lint
1818
run: |
19-
yarn install --immutable | grep -v 'YN0013'
19+
yarn
2020
yarn lint
21-
22-
test:
23-
name: Testing
21+
working-directory: ./
22+
run_tests:
23+
name: Unit Tests
2424
runs-on: ubuntu-latest
2525
strategy:
2626
matrix:
27-
node-version: [14.x]
27+
node-version: [18.x]
2828
steps:
29-
- uses: actions/checkout@v1
29+
- uses: actions/checkout@v2
3030
- name: Use Node.js ${{ matrix.node-version }}
31-
uses: actions/setup-node@v1
31+
uses: actions/setup-node@v2
3232
with:
3333
node-version: ${{ matrix.node-version }}
34-
- name: test
34+
- name: unit_test
3535
run: |
36-
yarn install --immutable | grep -v 'YN0013'
36+
yarn
3737
yarn test
38-
38+
working-directory: ./
3939
build_code:
4040
name: Build Code
4141
runs-on: ubuntu-latest
4242
strategy:
4343
matrix:
44-
node-version: [14.x]
44+
node-version: [18.x]
4545
steps:
46-
- uses: actions/checkout@v1
46+
- uses: actions/checkout@v2
4747
- name: Use Node.js ${{ matrix.node-version }}
48-
uses: actions/setup-node@v1
48+
uses: actions/setup-node@v2
4949
with:
5050
node-version: ${{ matrix.node-version }}
5151
- name: build
5252
run: |
53-
yarn install --immutable | grep -v 'YN0013'
54-
yarn build
53+
yarn
54+
yarn build
55+
working-directory: ./

0 commit comments

Comments
 (0)