更新内存测试:增加循环次数以增强内存使用检查 #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |