Skip to content

fix: 数组配置只生成了最后一个客户端 #96

fix: 数组配置只生成了最后一个客户端

fix: 数组配置只生成了最后一个客户端 #96

Workflow file for this run

name: Test
on: [push]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18, 20, 22]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: ${{ matrix.node }}
- run: pnpm install
- run: pnpm test
- if: github.ref == 'refs/heads/main' && strategy.job-index == 0
uses: codecov/codecov-action@v4
with:
verbose: true
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}