Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix(ci): use npm publish for all packages to avoid bun auth issues

[email protected]3d71c34adba7
diff --git a/.github/workflows/npm-reusable-publish.yml b/.github/workflows/npm-reusable-publish.yml
index 76ae28587d..3b631d6f8e 100644
--- a/.github/workflows/npm-reusable-publish.yml
+++ b/.github/workflows/npm-reusable-publish.yml
@@ -104,12 +104,6 @@ jobs:
- name: Publish to npm
if: steps.verify-version.outputs.should_publish == 'true' || steps.check-version.outputs.changed == 'true'
working-directory: ./${{ inputs.package_dir }}
- run: |
- if [ "${{ inputs.package_manager }}" = "bun" ]; then
- bun publish --production --access public --tolerate-republish
- else
- pnpm publish --access public --no-git-checks
- fi
+ run: npm publish --access public --provenance
env:
- NPM_CONFIG_PROVENANCE: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}