mirror of
https://github.com/chainbase-labs/Agentkey.git
synced 2026-09-20 14:20:23 +08:00
28 lines
655 B
YAML
28 lines
655 B
YAML
name: CLI tests
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'cli/**'
|
|
- '.github/workflows/cli-test.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'cli/**'
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
node: [18, 20]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v4
|
|
with: { version: 9 }
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
cache: pnpm
|
|
- run: pnpm install --frozen-lockfile
|
|
- run: pnpm --filter @agentkey/cli build
|
|
- run: pnpm --filter @agentkey/cli test
|