From 44c54c07857eeb4fae29acaf90624a49eb3182e4 Mon Sep 17 00:00:00 2001 From: Korinne Adler Date: Thu, 22 Aug 2024 10:45:37 -0500 Subject: [PATCH] Use approved NPM publish action --- .github/workflows/create-release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 }}