From f716ec432e67e2d7a8584c914654c518d231bb4a Mon Sep 17 00:00:00 2001 From: Vladyslav Zubko <42296182+what1s1ove@users.noreply.github.com> Date: Sun, 10 Dec 2023 11:10:23 +0200 Subject: [PATCH] fix: add scope while publishing to gpr fp-92 (#93) --- .github/workflows/cd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 768fec6..a428e03 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -135,6 +135,8 @@ jobs: - name: Publish working-directory: ${{ env.ARTIFACT_PATH }} - run: npm publish + run: | + npm pkg set name="@${{ github.repository_owner }}/$(npm pkg get name| sed 's/"//g')" + npm publish env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}