Skip to content

Commit

Permalink
ci: use existing workflow for alpha publish
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 authored Feb 27, 2024
1 parent 180e717 commit 55b0c35
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/alpha-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 55b0c35

Please sign in to comment.