We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4913d7b commit f928afaCopy full SHA for f928afa
.github/workflows/package-deployment.yml
@@ -256,6 +256,15 @@ jobs:
256
with:
257
name: js-packages
258
path: packages
259
+ - name: Create npm organization if it doesn't exist
260
+ run: |
261
+ echo "Creating or verifying npm organization @agentbridge"
262
+ npx npm-cli-login -u "$NPM_USERNAME" -p "$NPM_PASSWORD" -e "$NPM_EMAIL"
263
+ npm org create agentbridge "AgentBridge Organization" --no-publish-access || echo "Organization may already exist, continuing..."
264
+ env:
265
+ NPM_USERNAME: ${{ secrets.NPM_USERNAME }}
266
+ NPM_PASSWORD: ${{ secrets.NPM_TOKEN }}
267
+ NPM_EMAIL: ${{ secrets.NPM_EMAIL }}
268
- name: Get version if from tag
269
id: get_version
270
if: startsWith(github.ref, 'refs/tags/v')
0 commit comments