-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,10 @@ jobs: | |
|
||
# publish | ||
- run: git config --global user.email "[email protected]" && git config --global user.name "Synthetix CI" | ||
- run: npx lerna version 0.0.0-$(git rev-parse --short HEAD) --exact --no-push -y | ||
- run: npx lerna publish from-package --npm-tag dev --skip-git -y | ||
- run: git fetch origin ${{ github.head_ref }} | ||
- run: echo $(git rev-parse --short origin/${{ github.head_ref }}) | ||
#- run: npx lerna version 0.0.0-$(git rev-parse --short origin/${{ github.head_ref }}) --exact --no-push -y | ||
- run: npx lerna exec npm version 0.0.0-$(git rev-parse --short origin/${{ github.head_ref }}) | ||
- run: npx lerna exec npm publish -- --tag dev | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |