Skip to content

Commit

Permalink
Merge pull request #145 from layer5io/leecalcote/ci/npm-publish
Browse files Browse the repository at this point in the history
[CI] Trying to get data-table components released...
  • Loading branch information
leecalcote authored Oct 8, 2023
2 parents 2757d3c + 95f8ab2 commit 6f47291
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,19 @@ jobs:
- name: Publish to npm
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor}}@users.noreply.github.com"
- run: npm publish --verbose
if [ ${{ github.base_ref }} = development ]; then
HUSKY=0 npx lerna version --no-private --conventional-commits --conventional-prerelease --preid beta --yes
else
HUSKY=0 npx lerna version --no-private --conventional-commits --yes
fi
# git config user.name "${{ github.actor }}"
# git config user.email "${{ github.actor}}@users.noreply.github.com"
# if [ ${{ github.base_ref }} = development ]; then
# HUSKY=0 npx lerna version --no-private --conventional-commits --conventional-prerelease --preid beta --yes
# else
# HUSKY=0 npx lerna version --no-private --conventional-commits --yes
# fi
HUSKY=0 npx lerna publish from-git --yes
# HUSKY=0 npx lerna publish from-git --yes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 6f47291

Please sign in to comment.