Skip to content

chore: release v1.1.1 #99

chore: release v1.1.1

chore: release v1.1.1 #99

Workflow file for this run

name: unit_test
on:
push:
branches: [main]
pull_request:
branches: [main]
# 允许手动从 Actions tab 运行这个 workflows
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: PNPM build
run: pnpm build
- name: PNPM test
run: pnpm coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3