Skip to content

Commit

Permalink
Fix gh actions (#107)
Browse files Browse the repository at this point in the history
* fix: create component dynamically

* fix: default WC modal never used

* fix: default WC modal never used

* fix: gh actions
  • Loading branch information
darrenvechain authored Nov 28, 2023
1 parent 2e75994 commit b8e0a6b
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/publish-wallet-kit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
permissions:
contents: read
packages: write
strategy:
matrix:
package: [ dapp-kit, dapp-kit-ui, dapp-kit-react ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -26,9 +23,28 @@ jobs:
registry-url: https://npm.pkg.github.com/
- run: yarn install:all
- run: yarn build
- run: |
cd packages/${{ matrix.package }}

- name: Publish DApp-Kit
run: |
cd packages/dapp-kit
yarn version --no-git-tag-version --new-version ${{ github.ref_name }}
yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Publish DApp-Kit-UI
run: |
cd packages/dapp-kit-ui
yarn version --no-git-tag-version --new-version ${{ github.ref_name }}
yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Publish DApp-Kit-React
run: |
cd packages/dapp-kit-react
yarn version --no-git-tag-version --new-version ${{ github.ref_name }}
yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit b8e0a6b

Please sign in to comment.