diff --git a/.github/workflows/typescript-publish.yaml b/.github/workflows/typescript-publish.yaml index a3b22dcf2..0542d7260 100644 --- a/.github/workflows/typescript-publish.yaml +++ b/.github/workflows/typescript-publish.yaml @@ -31,6 +31,9 @@ jobs: - name: Install Dependencies working-directory: ./js run: pnpm install --frozen-lockfile + - name: Setup npmrc + working-directory: ./js + run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc - name: create and publish versions uses: changesets/action@v1 with: @@ -40,4 +43,4 @@ jobs: publish: pnpm ci:publish cwd: "./js" env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}