We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9bf0983 + 32adf6b commit 99614bcCopy full SHA for 99614bc
.github/workflows/npm-publish.yml
@@ -28,7 +28,8 @@ jobs:
28
node-version: '22.x'
29
registry-url: 'https://npm.pkg.github.com'
30
scope: '@contentstack'
31
- - run: npm ci
32
- - run: npm publish
33
env:
34
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
35
+ - run: npm publish --registry=https://npm.pkg.github.com
0 commit comments