Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Fix pnpm auth token config
haxzie committed
May 29, 2025 at 16:10 UTC
ccfb44fd2ea9911378bd7c85c111147f7a52883c
1 file changed
+3
-4
.github/workflows/release.yml
+3
-4
@@ -45,11 +45,10 @@ jobs:
45
publish: pnpm changeset:release
46
commit: 'build: update version'
47
title: 'build: update version'
48
- - name: Setup npm authentication
49
- run: |
50
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
48
+ - name: Set publishing config
49
+ run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
50
env:
52
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
51
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
52
- name: Publish to public npm registry
53
if: steps.changesets.outputs.published == 'true' || github.event_name == 'workflow_dispatch' # run when the package is published via changeset or if a release is triggered manually.
54
env: