Skip to content

Commit 7df696c

Browse files
committed
ci(store-sqlite): update core before publish
Refresh core during publish validation and document Trusted Publisher release prerequisites.
1 parent 461b586 commit 7df696c

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
node-version: 22
2222
registry-url: https://registry.npmjs.org
2323
- run: npm install
24+
- run: npm update @agent-dispatch/core
2425
- run: npm run typecheck
2526
- run: npm test
2627
- run: npm run build
2728
- run: npm version "${{ inputs.version }}" --no-git-tag-version --allow-same-version
28-
- run: npm publish --access public
29+
- run: npm publish --provenance --access public

‎docs/release.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
## Prerequisites
66

77
- Publish `@agent-dispatch/core` for the target compatibility line.
8-
- Add an npm automation token as `NPM_TOKEN` in repository secrets.
9-
- Replace bootstrap `file:../agentdispatch-core` development links with the published core version before the first registry release.
8+
- Configure npm Trusted Publisher for `agent-dispatch/store-sqlite` using workflow `.github/workflows/publish.yml`.
9+
- Confirm the target package version has not already been published.
1010

1111
## Publish
1212

13-
Use the `Publish` GitHub Actions workflow with the target version. The workflow validates typecheck, tests, and build before publishing with npm provenance.
13+
Use the `Publish` GitHub Actions workflow with the target version. The workflow updates `@agent-dispatch/core` to the latest compatible published version, validates typecheck, tests, and build, then publishes through Trusted Publisher.

0 commit comments

Comments
 (0)