diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82ecf1a74..d6f286e17 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 }}