mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 20:55:48 +00:00
migrate from yarn to npm (#148)
* migrate from yarn to npm * fix unrelated prettier error
This commit is contained in:
@@ -5,9 +5,9 @@ name: Node.js CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_with_nvm:
|
||||
@@ -23,10 +23,10 @@ jobs:
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "${{ steps.nvm.outputs.NVMRC }}"
|
||||
- run: yarn install
|
||||
- run: yarn run test
|
||||
- run: yarn run lint
|
||||
- run: yarn run compile
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
- run: npm run lint
|
||||
- run: npm run compile
|
||||
|
||||
build:
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: yarn install
|
||||
- run: yarn run test
|
||||
- run: yarn run lint
|
||||
- run: yarn run compile
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
- run: npm run lint
|
||||
- run: npm run compile
|
||||
|
||||
@@ -98,10 +98,10 @@ Encode the transaction object for multi-signing.
|
||||
|
||||
Run unit tests with:
|
||||
|
||||
yarn test
|
||||
npm test
|
||||
|
||||
Use `--coverage` to generate and display code coverage information:
|
||||
|
||||
yarn test --coverage
|
||||
npm test --coverage
|
||||
|
||||
This tells jest to output code coverage info in the `./coverage` directory, in addition to showing it on the command line.
|
||||
14315
packages/ripple-binary-codec/package-lock.json
generated
Normal file
14315
packages/ripple-binary-codec/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -55,6 +55,6 @@
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.22.0",
|
||||
"yarn": "^1.22.4"
|
||||
"npm": ">=7.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,8 @@ let json = {
|
||||
Account: "rUnFEsHjxqTswbivzL2DNHBb34rhAgZZZK",
|
||||
PreviousTxnLgrSeq: 8,
|
||||
LedgerEntryType: "AccountRoot",
|
||||
PreviousTxnID: "0735A0B32B2A3F4C938B76D6933003E29447DB8C7CE382BBE089402FF12A03E5".toLowerCase(),
|
||||
PreviousTxnID:
|
||||
"0735A0B32B2A3F4C938B76D6933003E29447DB8C7CE382BBE089402FF12A03E5".toLowerCase(),
|
||||
Flags: 0,
|
||||
Sequence: 1,
|
||||
Balance: "10000000000",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user