From b8e0a6b400569c25ac599dcf7c9d5aa99ad7694f Mon Sep 17 00:00:00 2001 From: Darren Kelly <107671032+darrenvechain@users.noreply.github.com> Date: Tue, 28 Nov 2023 11:14:53 +0000 Subject: [PATCH] Fix gh actions (#107) * fix: create component dynamically * fix: default WC modal never used * fix: default WC modal never used * fix: gh actions --- .github/workflows/publish-wallet-kit.yaml | 26 ++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-wallet-kit.yaml b/.github/workflows/publish-wallet-kit.yaml index 073e18eb..ec527149 100644 --- a/.github/workflows/publish-wallet-kit.yaml +++ b/.github/workflows/publish-wallet-kit.yaml @@ -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 @@ -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}} +