Skip to content

Commit bf0b604

Browse files
authored
Merge pull request #32 from iamnotstatic/feature/tron-support
Feature/tron support
2 parents bb71290 + 8de82ce commit bf0b604

File tree

18 files changed

+5728
-15835
lines changed

18 files changed

+5728
-15835
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
1-
name: CI
1+
name: Build, lint, and test
2+
23
on: [push]
4+
35
jobs:
46
build:
5-
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }}
7+
name: Build, lint, and test on Nodejs
8+
9+
runs-on: ubuntu-latest
610

7-
runs-on: ${{ matrix.os }}
811
strategy:
912
matrix:
10-
node: ['14.x']
11-
os: [ubuntu-latest, windows-latest, macOS-latest]
13+
node-version: [16.x]
1214

1315
steps:
14-
- name: Checkout repo
15-
uses: actions/checkout@v2
16-
17-
- name: Use Node ${{ matrix.node }}
18-
uses: actions/setup-node@v1
16+
- uses: actions/checkout@v4
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: ${{ matrix.node }}
21-
22-
- name: Install deps and build (with cache)
23-
uses: bahmutov/npm-install@v1
24-
25-
- name: Test
26-
run: yarn test --ci --coverage --maxWorkers=2
20+
node-version: ${{ matrix.node-version }}
21+
cache: yarn
22+
- name: Install dependencies
23+
run: yarn --ignore-engines
2724

2825
- name: Build
2926
run: yarn build

CONTRIBUTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ yan start // npm run start
2323
``` javascript
2424
yarn test // npm run test
2525
```
26-
3. Make your necessary changes and accompany each function with a test.
26+
3. Run tests for a specific file. Jest tests are setup to run in watch mode.
27+
``` javascript
28+
yarn test test/file.test.ts // npm run test test/file.test.ts
29+
```
30+
4. Make your necessary changes and accompany each function with a test.
2731

2832

2933
✨ Thanks for contributing to **multichain-crypto-wallet**! ✨

0 commit comments

Comments
 (0)