test: add recipe mode & component render

This commit is contained in:
YunYouJun
2022-06-26 07:42:53 +08:00
parent 33bf4b3a28
commit 31c8163ca9
15 changed files with 866 additions and 478 deletions

View File

@@ -47,3 +47,25 @@ jobs:
- name: Typecheck
run: pnpm run typecheck
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
cache: pnpm
- run: pnpm install
- run: pnpm run test