Skip to content

新增内存测试:为 createMemoizeDict 和 MemoizeDict 添加内存使用检查测试用例,更新 CI 工作流以包含内存测试 #10

新增内存测试:为 createMemoizeDict 和 MemoizeDict 添加内存使用检查测试用例,更新 CI 工作流以包含内存测试

新增内存测试:为 createMemoizeDict 和 MemoizeDict 添加内存使用检查测试用例,更新 CI 工作流以包含内存测试 #10

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- "**"
env:
TZ: Asia/Shanghai
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: yanhao98/composite-actions/setup-node-environment@main
- run: pnpm test
- name: "Memory test: createMemoizeDict"
run: |
npx vitest run --testNamePattern "Memory test: createMemoizeDict"
- name: "Memory test: MemoizeDict"
run: |
npx vitest run --testNamePattern "Memory test: MemoizeDict"
- run: pnpm build
- run: pnpx pkg-pr-new publish
# - run: pnpx pkg-pr-new publish --compact # https://github.com/stackblitz-labs/pkg.pr.new?tab=readme-ov-file#setup