diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cab6c91..f575eaa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -60,6 +60,7 @@ jobs: with: node-version: 22 cache: 'pnpm' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: pnpm install --frozen-lockfile @@ -75,7 +76,9 @@ jobs: run: pnpm run build - name: Publish to NPM - run: npm publish --access public --tag ${{ steps.version.outputs.tag }} --provenance + run: npm publish --access public --tag ${{ steps.version.outputs.tag }} + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Create GitHub Release uses: softprops/action-gh-release@v2 diff --git a/package.json b/package.json index aee87ae..a23a6cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ubidots/react-html-canvas", - "version": "0.2.11", + "version": "0.2.12", "description": "React library to interact with Ubidots Dashboards from HTML Canvas widgets (Provider + hooks + actions)", "license": "MIT", "author": "Ubidots",