mirror of
https://github.com/trycua/computer.git
synced 2026-01-07 22:10:02 -06:00
Formatting Fix
This commit is contained in:
36
.github/workflows/npm-publish-cli.yml
vendored
36
.github/workflows/npm-publish-cli.yml
vendored
@@ -4,9 +4,9 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'Version to publish (default: from package.json)'
|
||||
description: "Version to publish (default: from package.json)"
|
||||
required: false
|
||||
default: ''
|
||||
default: ""
|
||||
|
||||
jobs:
|
||||
build-and-publish:
|
||||
@@ -14,30 +14,30 @@ jobs:
|
||||
id-token: write
|
||||
contents: write
|
||||
packages: write
|
||||
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
target: bun-linux-x64
|
||||
ext: ''
|
||||
ext: ""
|
||||
binary_name: cua-linux-x64
|
||||
- os: macos-latest
|
||||
target: bun-darwin-x64
|
||||
ext: ''
|
||||
ext: ""
|
||||
binary_name: cua-darwin-x64
|
||||
- os: macos-latest
|
||||
target: bun-darwin-arm64
|
||||
ext: ''
|
||||
ext: ""
|
||||
binary_name: cua-darwin-arm64
|
||||
- os: windows-latest
|
||||
target: bun-windows-x64
|
||||
ext: '.exe'
|
||||
ext: ".exe"
|
||||
binary_name: cua-windows-x64.exe
|
||||
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -47,9 +47,9 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'bun'
|
||||
cache-dependency-path: 'libs/typescript/cua-cli/bun.lockb'
|
||||
node-version: "20"
|
||||
cache: "bun"
|
||||
cache-dependency-path: "libs/typescript/cua-cli/bun.lockb"
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
@@ -96,10 +96,10 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
cache: 'bun'
|
||||
cache-dependency-path: 'libs/typescript/cua-cli/bun.lockb'
|
||||
node-version: "20"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
cache: "bun"
|
||||
cache-dependency-path: "libs/typescript/cua-cli/bun.lockb"
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
@@ -144,7 +144,7 @@ jobs:
|
||||
```bash
|
||||
# For Linux/macOS
|
||||
curl -fsSL https://cua.ai/install.sh | sh
|
||||
|
||||
|
||||
# For Windows (PowerShell)
|
||||
irm https://cua.ai/install.ps1 | iex
|
||||
```
|
||||
@@ -153,7 +153,7 @@ jobs:
|
||||
```bash
|
||||
# Using bun
|
||||
bun add -g @trycua/cli
|
||||
|
||||
|
||||
# Or using npm
|
||||
npm install -g @trycua/cli
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user