From 1e8779e0f28ad6601d6acc938b52ed266b02df03 Mon Sep 17 00:00:00 2001 From: "Mr.Mao" <951416545@qq.com> Date: Sun, 7 May 2023 15:06:48 +0800 Subject: [PATCH] chore: fix .github ci error --- .github/workflows/ci.yml | 2 +- __tests__/renderer.spec.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 __tests__/renderer.spec.ts diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5754187..16771ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: node-version: ${{ matrix.node }} - name: Install - run: npm i pnpm -g && pnpm i + run: pnpm i - name: Build run: pnpm build diff --git a/__tests__/renderer.spec.ts b/__tests__/renderer.spec.ts new file mode 100644 index 0000000..e2079b8 --- /dev/null +++ b/__tests__/renderer.spec.ts @@ -0,0 +1,7 @@ +import { describe, expect, it } from 'vitest' + +describe('index', () => { + it('hi vitest', () => { + expect(1).toBe(1) + }) +})