diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7977d21..7212a21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/index.html b/index.html index dba0e0e..e3b80d6 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ 隔离食用手册