Skip to content

添加单元测试,基于vitest 改造了现有的测试。 #3

添加单元测试,基于vitest 改造了现有的测试。

添加单元测试,基于vitest 改造了现有的测试。 #3

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- name: Installing Dependencies
run: pnpm install
- name: Running unit Test
run: pnpm run test:unit