Enable trusted npm publish for server

This commit is contained in:
Shantur Rathore
2025-11-21 18:38:37 +00:00
parent dbbed94381
commit 0a2d57624c
2 changed files with 10 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
registry-url: https://registry.npmjs.org
- name: Set workspace versions
run: npm version ${VERSION} --workspaces --include-workspace-root --no-git-tag-version --allow-same-version
@@ -87,4 +88,8 @@ jobs:
run: npm run build --workspace @neuralnomads/codenomad
- name: Publish server package to dev tag
env:
NPM_CONFIG_PROVENANCE: true
NPM_CONFIG_REGISTRY: https://registry.npmjs.org
NPM_CONFIG_ALWAYS_AUTH: true
run: npm publish --workspace @neuralnomads/codenomad --access public --tag dev --provenance