From 5411d0d91deac6fab84bee72dda05ce4a1030149 Mon Sep 17 00:00:00 2001 From: junjiequan Date: Tue, 26 Nov 2024 14:55:24 +0100 Subject: [PATCH] test --- .github/workflows/release-and-publish-sdk.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 }}