Skip to content

Commit 32adf6b

Browse files
Vikram KaltaVikram Kalta
Vikram Kalta
authored and
Vikram Kalta
committed
fix: update registry url
1 parent 3d29348 commit 32adf6b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/npm-publish.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
node-version: '20.x'
2929
registry-url: 'https://npm.pkg.github.com'
3030
scope: '@contentstack'
31-
- run: npm ci
32-
- run: npm publish
3331
env:
34-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
32+
NODE_AUTH_TOKEN: ${{ secrets.PAT_TOKEN }}
33+
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.PAT_TOKEN }}" > ~/.npmrc
34+
- run: npm ci --registry=https://npm.pkg.github.com
35+
- run: npm publish --registry=https://npm.pkg.github.com

0 commit comments

Comments
 (0)