Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ jobs:
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run typecheck
- run: npm run build
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm run typecheck
- run: pnpm run test
- run: pnpm run build
13 changes: 8 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,20 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: 24
cache: "npm"
cache: "pnpm"
registry-url: https://registry.npmjs.org

- run: npm ci
- run: npm run typecheck
- run: npm run build
- run: pnpm install --frozen-lockfile
- run: pnpm run typecheck
- run: pnpm run test
- run: pnpm run build

- name: Publish to NPM
run: npm publish --provenance --access public
run: pnpm publish --provenance --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.ONECLI_NPM_TOKEN }}
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
## Installation

```bash
npm install @onecli-sdk/node
pnpm add @onecli-sdk/node
```

## Requirements
Expand Down Expand Up @@ -208,10 +208,11 @@ OneCLI acts as a MITM proxy for containerized agents. When a container makes HTT
## Development

```bash
npm install # Install dependencies
npm run build # Build CJS + ESM
npm run typecheck # Type-check without emitting
npm run dev # Watch mode
pnpm install # Install dependencies
pnpm run build # Build CJS + ESM
pnpm run typecheck # Type-check without emitting
pnpm run test # Run tests
pnpm run dev # Watch mode
```

## License
Expand Down
Loading
Loading