Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ on:
tags:
- 'v*'

# Trusted publishing (npm): id-token: write lets GitHub Actions mint an OIDC
# token that npm CLI auto-exchanges for a short-lived publish token, so we no
# longer rely on a long-lived NPM_TOKEN. See https://docs.npmjs.com/trusted-publishers
permissions:
contents: write
packages: write
id-token: write

jobs:
publish-npm:
Expand Down Expand Up @@ -64,10 +68,11 @@ jobs:
# npm pack dry-run must include the zip
cd packages/cli && npm pack --dry-run 2>&1 | grep -F 'markus-browser-extension.zip'

- name: Publish to npm
run: cd packages/cli && npm publish --access public --tag ${{ steps.meta.outputs.npm_tag }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Upgrade npm CLI (Trusted Publishing needs >= 11.5.1)
run: npm install -g npm@latest

- name: Publish to npm (Trusted Publishing)
run: cd packages/cli && npm publish --access public --provenance --tag ${{ steps.meta.outputs.npm_tag }}

build-server-binary:
needs: publish-npm
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@
"node-pty"
]
},
"version": "0.9.7-rc.1"
"version": "0.9.7-rc.5"
}
2 changes: 1 addition & 1 deletion packages/a2a/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"dependencies": {
"@markus/shared": "workspace:*"
},
"version": "0.9.7-rc.1"
"version": "0.9.7-rc.5"
}
2 changes: 1 addition & 1 deletion packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"esbuild": "^0.25.0",
"typescript": "^5.6.0"
},
"version": "0.9.7-rc.1"
"version": "0.9.7-rc.5"
}
9 changes: 8 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
"description": "Markus — AI Digital Workforce Platform",
"type": "module",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/markus-global/markus.git"
},
"publishConfig": {
"provenance": true
},
"bin": {
"markus": "dist/markus.mjs"
},
Expand Down Expand Up @@ -41,5 +48,5 @@
"commander": "^14.0.3",
"esbuild": "^0.27.4"
},
"version": "0.9.7-rc.1"
"version": "0.9.7-rc.5"
}
2 changes: 1 addition & 1 deletion packages/comms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"dependencies": {
"@markus/shared": "workspace:*"
},
"version": "0.9.7-rc.1"
"version": "0.9.7-rc.5"
}
Loading
Loading