From 5539ab2d0357adff0befa75d3d40d79fbc520dfb Mon Sep 17 00:00:00 2001 From: Gabriele Picco Date: Wed, 27 Sep 2023 08:39:48 +0200 Subject: [PATCH] Update publish-sdk.yml --- .github/workflows/publish-sdk.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-sdk.yml b/.github/workflows/publish-sdk.yml index a665029..313a646 100644 --- a/.github/workflows/publish-sdk.yml +++ b/.github/workflows/publish-sdk.yml @@ -133,8 +133,10 @@ jobs: npm i -g @coral-xyz/anchor-cli@${{ env.anchor_version }} ts-mocha typescript anchor test - - run: npm ci - - run: npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} - - run: npm run build -w client/sdk/ && yarn lint --fix && npm publish -w client/sdk/ + - run: | + npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} + npm run build -w client/sdk/ + yarn lint --fix + npm publish -w client/sdk/ env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}