diff --git a/.github/workflows/npmPublish.yml b/.github/workflows/npmPublish.yml index f73548e76..ae21bc181 100644 --- a/.github/workflows/npmPublish.yml +++ b/.github/workflows/npmPublish.yml @@ -2,11 +2,6 @@ name: Publish to npm on: workflow_dispatch: - inputs: - npm_tag: - description: "Release type latest" - required: true - default: "latest" jobs: build: @@ -23,6 +18,9 @@ jobs: node-version: "14" # Use Node.js version 14 cache: "yarn" + - name: Install tsx + run: npm install -g tsx + - name: Install dependencies working-directory: ./sdk run: yarn install @@ -39,6 +37,6 @@ jobs: - name: Push to npm working-directory: ./sdk - run: npm publish --tag ${{ github.event.inputs.npm_tag }} + run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}