Skip to content

Commit

Permalink
Merge pull request #19 from lightninglabs/yarn
Browse files Browse the repository at this point in the history
Move from npm to yarn
  • Loading branch information
kaloudis authored Jan 3, 2023
2 parents adfb755 + ae7c6bd commit 9c3b5f2
Show file tree
Hide file tree
Showing 12 changed files with 17,668 additions and 58,506 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '14.x'
- run: npm ci
- run: npm run build
- run: yarn install --frozen-lockfile
- run: yarn run build
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '14.x'
- run: npm ci
- run: npm run lint
- run: yarn install --frozen-lockfile
- run: yarn run lint
2 changes: 1 addition & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: yarn install --frozen-lockfile
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '14.x'
- run: npm ci
- run: npm run prettier
- run: yarn install --frozen-lockfile
- run: yarn run prettier
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Navigate to the lnc-rn npm module folder
`cd node_modules/@lightninglabs/lnc-rn`

Fetch the required LNC libraries
`npm run fetch-libraries`
`yarn run fetch-libraries`

### Android

Expand Down Expand Up @@ -114,7 +114,7 @@ listener.stop();

## Demos

To highlight the functionality of `lnc-rn` we've included two demos in the repo: `connect-demo` and `multi-connect-demo`. To run these you must run `npm run install-lnc` after installing their npm dependencies to fetch the LNC mobile binaries, which are not bundled into the module directly.
To highlight the functionality of `lnc-rn` we've included two demos in the repo: `connect-demo` and `multi-connect-demo`. To run these you must run `yarn run install-lnc` after installing their npm dependencies to fetch the LNC mobile binaries, which are not bundled into the module directly.

## Further documentation

Expand Down
Loading

0 comments on commit 9c3b5f2

Please sign in to comment.