diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 9105e97..a53b2e9 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -70,8 +70,6 @@ jobs: files: ./*-binaries/odbc-*.tar.gz - name: Publish to NPM - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: | - npm config set --location=project //registry.npmjs.org/:_authToken $NPM_TOKEN - npm publish + uses: JS-DevTools/npm-publish@v3 + with: + token: ${{ secrets.NPM_TOKEN }}