From 3d972744e802510cca127968684bc1cb688edbbf Mon Sep 17 00:00:00 2001 From: Alfetopito Date: Mon, 30 Oct 2023 17:37:14 +0000 Subject: [PATCH] chore: back to use direct publish instead of nx publish as that is not working --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 26c5b3bce0..16c346c2d1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -51,7 +51,11 @@ jobs: - name: Copy .npmrc to destination run: cp ${{ env.NPM_CONFIG_USERCONFIG }} ${{ env.DESTINATION_PATH }}/ + - name: Copy README + run: cp libs/${{ inputs.lib }}/README.md ${{ env.DESTINATION_PATH }}/ + - name: Publish - run: yarn nx publish ${{ inputs.lib }} --tag ${{ inputs.tag }} + working-directory: ${{ env.DESTINATION_PATH }} + run: publish --tag ${{ inputs.tag }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}