From eb0cd2aa3b0e0e76e826c40a6d1cf0473be471ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hub=C3=A9rt=20de=20Lalye?= Date: Tue, 29 Oct 2024 23:05:46 +0400 Subject: [PATCH] fresh fix of publish script --- .github/workflows/publish-sdk.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-sdk.yml b/.github/workflows/publish-sdk.yml index 94732dd383..af81c5019b 100644 --- a/.github/workflows/publish-sdk.yml +++ b/.github/workflows/publish-sdk.yml @@ -68,9 +68,11 @@ jobs: git add package.json git commit -m "Bump SDK version to $(jq -r .version package.json)" - - name: Publish package + - run: | + yarn --version + echo "npmAuthToken: "${{ secrets.NPM_TOKEN}}" >> .yarnrc.yml" + yarn npm publish --access public working-directory: ./sdk - run: yarn npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}