Skip to content

Commit 68809de

Browse files
committed
Fix CLI session name quoting and npm trusted publishing
- Quote COMPEEK_SESSION_NAME in docker run to handle spaces - Use npm OIDC trusted publishing (no NPM_TOKEN needed) - Add npm install -g npm@latest for trusted publishing support
1 parent 0747c48 commit 68809de

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
node-version: 22
2222
registry-url: https://registry.npmjs.org
2323

24+
- name: Ensure npm supports trusted publishing
25+
run: npm install -g npm@latest
26+
2427
- name: Set version from git tag
2528
run: npm version "${GITHUB_REF_NAME#v}" --no-git-tag-version
2629

@@ -29,4 +32,4 @@ jobs:
2932
- run: npm test
3033

3134
- name: Publish to npm (OIDC trusted publishing)
32-
run: npm publish --provenance --access public
35+
run: npm publish --access public

0 commit comments

Comments
 (0)