diff --git a/.github/workflows/release-and-publish-sdk.yml b/.github/workflows/release-and-publish-sdk.yml index 98efccd04..b316c5797 100644 --- a/.github/workflows/release-and-publish-sdk.yml +++ b/.github/workflows/release-and-publish-sdk.yml @@ -187,12 +187,10 @@ jobs: - name: Publish package run: | - npm install --ignore-scripts - npm run build - cp ./README.md ./dist/README.md - cp ./package.json ./dist/package.json - cd ./tsconfig.esm.json ./dist/tsconfig.esm.json - npm publish ./dist --access public + npm install + npm run build + cd ./dist && + npm publish working-directory: ./sdk/typescript-fetch/ env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}