Skip to content

Commit 49d5806

Browse files
authored
Merge pull request #126 from TrueNine/dev
Update cleanup flow and GitHub workflows for npm release reliability
2 parents 020d768 + fa16bea commit 49d5806

File tree

84 files changed

+2377
-649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+2377
-649
lines changed

.github/actions/npm-auth-preflight/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: NPM Auth Preflight
22
description: Validate npm authentication and report package access
33

44
inputs:
5+
npm-token:
6+
description: npm authentication token
7+
required: true
58
registry-url:
69
description: npm registry URL
710
required: false
@@ -19,7 +22,7 @@ runs:
1922
- name: Preflight npm auth
2023
shell: bash
2124
env:
22-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
25+
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
2326
REGISTRY_URL: ${{ inputs.registry-url }}
2427
PACKAGE_DIR: ${{ inputs.package-dir }}
2528
PACKAGE_NAME: ${{ inputs.package-name }}

.github/actions/npm-publish-package/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: NPM Publish Package
22
description: Publish a package to npm with retry and verification logic
33

44
inputs:
5+
npm-token:
6+
description: npm authentication token
7+
required: true
58
registry-url:
69
description: npm registry URL
710
required: false
@@ -24,7 +27,7 @@ runs:
2427
- name: Publish to npm
2528
shell: bash
2629
env:
27-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
2831
REGISTRY_URL: ${{ inputs.registry-url }}
2932
PACKAGE_DIR: ${{ inputs.package-dir }}
3033
VERIFY_ATTEMPTS: ${{ inputs.verify-attempts }}

.github/workflows/release-cli.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ jobs:
251251
- name: Publish CLI platform sub-packages
252252
uses: ./.github/actions/npm-publish-package
253253
with:
254+
npm-token: ${{ secrets.NPM_TOKEN }}
254255
registry-url: ${{ env.NPM_REGISTRY_URL }}
255256
package-dir: cli/npm
256257

@@ -267,13 +268,15 @@ jobs:
267268
registry-url: https://registry.npmjs.org/
268269
- uses: ./.github/actions/npm-auth-preflight
269270
with:
271+
npm-token: ${{ secrets.NPM_TOKEN }}
270272
registry-url: ${{ env.NPM_REGISTRY_URL }}
271273
package-dir: cli
272274
package-name: "@truenine/memory-sync-cli"
273275
- name: Build
274276
run: pnpm -F @truenine/memory-sync-cli run build
275277
- uses: ./.github/actions/npm-publish-package
276278
with:
279+
npm-token: ${{ secrets.NPM_TOKEN }}
277280
registry-url: ${{ env.NPM_REGISTRY_URL }}
278281
package-dir: cli
279282

@@ -292,13 +295,15 @@ jobs:
292295
registry-url: https://registry.npmjs.org/
293296
- uses: ./.github/actions/npm-auth-preflight
294297
with:
298+
npm-token: ${{ secrets.NPM_TOKEN }}
295299
registry-url: ${{ env.NPM_REGISTRY_URL }}
296300
package-dir: mcp
297301
package-name: "@truenine/memory-sync-mcp"
298302
- name: Build
299303
run: pnpm exec turbo run build --filter=@truenine/memory-sync-mcp
300304
- uses: ./.github/actions/npm-publish-package
301305
with:
306+
npm-token: ${{ secrets.NPM_TOKEN }}
302307
registry-url: ${{ env.NPM_REGISTRY_URL }}
303308
package-dir: mcp
304309

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ members = [
1010
]
1111

1212
[workspace.package]
13-
version = "2026.10402.116"
13+
version = "2026.10403.117"
1414
edition = "2024"
1515
rust-version = "1.88"
1616
license = "AGPL-3.0-only"

cli/npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@truenine/memory-sync-cli-darwin-arm64",
3-
"version": "2026.10402.116",
3+
"version": "2026.10403.117",
44
"os": [
55
"darwin"
66
],

cli/npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@truenine/memory-sync-cli-darwin-x64",
3-
"version": "2026.10402.116",
3+
"version": "2026.10403.117",
44
"os": [
55
"darwin"
66
],

cli/npm/linux-arm64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@truenine/memory-sync-cli-linux-arm64-gnu",
3-
"version": "2026.10402.116",
3+
"version": "2026.10403.117",
44
"os": [
55
"linux"
66
],

cli/npm/linux-x64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@truenine/memory-sync-cli-linux-x64-gnu",
3-
"version": "2026.10402.116",
3+
"version": "2026.10403.117",
44
"os": [
55
"linux"
66
],

cli/npm/win32-x64-msvc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@truenine/memory-sync-cli-win32-x64-msvc",
3-
"version": "2026.10402.116",
3+
"version": "2026.10403.117",
44
"os": [
55
"win32"
66
],

0 commit comments

Comments
 (0)