Skip to content

Commit 0ac44bb

Browse files
authored
chore: trusted publishing 2 (#179)
1 parent 9965f30 commit 0ac44bb

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/workflows/agent-release.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,14 @@ jobs:
4040
- name: Checkout repository
4141
uses: actions/checkout@v4
4242

43-
- name: Setup pnpm
44-
uses: pnpm/action-setup@v4
45-
46-
- name: Setup Node.js
43+
- name: Set up Node 24
4744
uses: actions/setup-node@v4
4845
with:
49-
node-version: 22
46+
node-version: 24
5047
registry-url: https://registry.npmjs.org
51-
cache: "pnpm"
48+
49+
- name: Install pnpm
50+
run: npm install -g pnpm
5251

5352
- name: Install dependencies
5453
run: pnpm install --frozen-lockfile
@@ -58,4 +57,4 @@ jobs:
5857

5958
- name: Publish the package to npm registry
6059
working-directory: packages/agent
61-
run: npm publish
60+
run: pnpm publish --access public

packages/agent/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@posthog/agent",
33
"version": "1.25.0",
4+
"repository": "https://github.com/PostHog/array",
45
"description": "TypeScript agent framework wrapping Claude Agent SDK with Git-based task execution for PostHog",
56
"main": "./dist/index.js",
67
"module": "./dist/index.js",
@@ -23,10 +24,6 @@
2324
],
2425
"author": "PostHog",
2526
"license": "SEE LICENSE IN LICENSE",
26-
"repository": {
27-
"type": "git",
28-
"url": "https://github.com/PostHog/posthog-agent"
29-
},
3027
"scripts": {
3128
"build": "pnpm exec rimraf dist && pnpm exec rollup -c && pnpm exec tsc --project tsconfig.build.json --emitDeclarationOnly",
3229
"dev": "pnpm exec rollup -c --watch",

0 commit comments

Comments
 (0)