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.

Enable provenance

Morgan Dean1d5a2a7a2df8
diff --git a/.github/workflows/npm-publish-computer.yml b/.github/workflows/npm-publish-computer.yml
index 2f67439bb3..328378d77c 100644
--- a/.github/workflows/npm-publish-computer.yml
+++ b/.github/workflows/npm-publish-computer.yml
@@ -7,14 +7,17 @@ on:
jobs:
publish:
+ permissions:
+ id-token: write
+ contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - name: Use Node.js LTS
+ - name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
- node-version: lts/*
+ node-version: "24.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
@@ -27,6 +30,6 @@ jobs:
- name: Publish to npm
working-directory: ./libs/typescript/computer
- run: npm publish --access public
+ run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
diff --git a/.github/workflows/npm-publish-core.yml b/.github/workflows/npm-publish-core.yml
index e7bd996ba2..dc06628dfc 100644
--- a/.github/workflows/npm-publish-core.yml
+++ b/.github/workflows/npm-publish-core.yml
@@ -7,14 +7,17 @@ on:
jobs:
publish:
+ permissions:
+ id-token: write
+ contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - name: Use Node.js LTS
+ - name: Use Node.js 24.x
uses: actions/setup-node@v4
with:
- node-version: lts/*
+ node-version: "24.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
@@ -27,6 +30,6 @@ jobs:
- name: Publish to npm
working-directory: ./libs/typescript/core
- run: npm publish --access public
+ run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}