Skip to content

Commit

Permalink
Merge pull request #37 from leapwallet/main
Browse files Browse the repository at this point in the history
Fixed signAmino in provider and Using suggest chain feature
  • Loading branch information
leapsamvel authored Sep 4, 2023
2 parents fdbf2b7 + 042e4c7 commit d30958e
Show file tree
Hide file tree
Showing 13 changed files with 2,317 additions and 1,018 deletions.
40 changes: 36 additions & 4 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 📦 Release Cosmos Provider Package
name: 📦 Release Packages

on:
push:
Expand Down Expand Up @@ -27,14 +27,46 @@ jobs:
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- run: yarn
- name: 📥 Install Dependencies
run: yarn
env:
GH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
- run: yarn build:provider && yarn publish:provider
- name: 🏗️ Build Library and Publish
run: yarn build:provider && yarn publish:provider
env:
GH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: yarn lint && yarn test && yarn build:snap && yarn publish:snap
- name: 🏗️ Build Snap and Publish
run: yarn lint && yarn test && yarn build:snap && yarn publish:snap
env:
GH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gitHub-registry:
runs-on: ubuntu-latest
env:
NEW_VERSION: ${{ github.ref_name }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: ⬇️ Checkout Repo
uses: actions/checkout@v3

- name: ⎔ Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://npm.pkg.github.com'
scope: '@leapwallet'

- name: 📥 Install Dependencies
run: yarn
env:
GH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}

- name: 🏗️ Build Library
run: yarn build:provider && yarn publish:provider
env:
GH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
"start:snap": "yarn workspace snap start",
"test": "yarn workspace @leapwallet/metamask-cosmos-snap test"
},
"dependencies": {
"long": "^5.2.3"
},
"devDependencies": {
"@metamask/eslint-config": "^10.0.0",
"@metamask/eslint-config-jest": "^10.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/cosmos-snap-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leapwallet/cosmos-snap-provider",
"version": "0.1.14",
"version": "0.1.15",
"repository": {
"url": "[email protected]:leapwallet/cosmos-metamask-snap.git"
},
Expand All @@ -19,6 +19,7 @@
"dependencies": {
"@cosmjs/amino": "^0.31.0",
"@cosmjs/proto-signing": "^0.31.0",
"bignumber.js": "^9.1.2",
"long": "^5.2.3"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit d30958e

Please sign in to comment.