From 95f8ab2c9a92a5e2923a5b32dbc08e242eeba73d Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Sat, 7 Oct 2023 22:35:41 -0500 Subject: [PATCH] Update release.yml Signed-off-by: Lee Calcote --- .github/workflows/release.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82ecf1a7..d6f286e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}