From 55b0c352e13527231d14d76c9ebdc3c38a2f613b Mon Sep 17 00:00:00 2001 From: Kaustubh Kumar Date: Tue, 27 Feb 2024 15:25:58 +0530 Subject: [PATCH] ci: use existing workflow for alpha publish --- .github/workflows/alpha-release.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/alpha-release.yml b/.github/workflows/alpha-release.yml index f51b1ea521..0f34dc9a1b 100644 --- a/.github/workflows/alpha-release.yml +++ b/.github/workflows/alpha-release.yml @@ -56,18 +56,22 @@ jobs: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git config user.name "github-actions[bot]" - # from-package will publish whatever version is present in each package's package.json - # it will not publish if the version is already published in npm - - name: Publish - run: yarn lerna:publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - PUBLISH_FLAG: alpha + run_publish_packages: + runs-on: ubuntu-latest + steps: + - name: Run Publish Packages action + uses: ./.github/workflows/publish.yml + with: + publishFlag: 'alpha' # Delay to wait for the publish to finish - name: Delay for 2 minutes run: sleep 120 + notify_100ms_links: + runs-on: ubuntu-latest + needs: run_publish_packages + steps: - name: Repository Dispatch uses: peter-evans/repository-dispatch@v3 with: