diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 0e6d0d57..5bdea649 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -28,7 +28,8 @@ jobs: node-version: '22.x' registry-url: 'https://npm.pkg.github.com' scope: '@contentstack' - - run: npm ci - - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.PAT_TOKEN }} + - run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.PAT_TOKEN }}" > ~/.npmrc + - run: npm ci --registry=https://npm.pkg.github.com + - run: npm publish --registry=https://npm.pkg.github.com diff --git a/package-lock.json b/package-lock.json index 8ac36496..2357221b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "contentstack", - "version": "3.24.2", + "version": "3.24.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "contentstack", - "version": "3.24.2", + "version": "3.24.3", "license": "MIT", "dependencies": { "@contentstack/utils": "^1.3.15",