Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/cd-cua-driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -726,14 +726,6 @@ jobs:
with:
name: 'cua-sdk-npm-${{ needs.validate-version.outputs.version }}'
path: '${{ runner.temp }}/cua-sdk-package'
- name: 'Require npm publishing token'
env:
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
run: |
if [[ -z "$NODE_AUTH_TOKEN" ]]; then
echo '::error::production-release NPM_TOKEN is required for the first @qwen-code/cua-sdk publication'
exit 1
fi
- name: 'Clean-install against the published GitHub Release'
env:
QWEN_CUA_SDK_CACHE_DIR: '${{ runner.temp }}/public-release-cache'
Expand Down Expand Up @@ -787,7 +779,6 @@ jobs:
'
- name: 'Publish immutable SDK tarball'
env:
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
VERSION: '${{ needs.validate-version.outputs.version }}'
run: |
set -euo pipefail
Expand Down
5 changes: 5 additions & 0 deletions scripts/tests/package-scripts.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,11 @@ describe('package scripts', () => {
'release-sdk',
'Publish @qwen-code/sdk',
],
[
'.github/workflows/cd-cua-driver.yml',
'publish-sdk',
'Publish immutable SDK tarball',
],
['.github/workflows/cd-mobile-mcp.yml', 'build-and-publish', 'Publish'],
]) {
const publishJob = getWorkflowJob(readWorkflow(workflowPath), jobName);
Expand Down
Loading