Skip to content

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 release workflow

haxzie649530e5e39f
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c1b984834..1a77a1ed5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -45,10 +45,8 @@ jobs:
publish: pnpm changeset:release
commit: 'build: update version'
title: 'build: update version'
- - name: Set publishing config
- run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
- env:
- NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
+ - name: Set up .npmrc
+ run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Publish to public npm registry
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.
env: