Skip to content

chore: 发布版本v1.3.0 #114

chore: 发布版本v1.3.0

chore: 发布版本v1.3.0 #114

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 }}