From fc4a3a64eeb6ffb52122beb54e52c855a7e0149d Mon Sep 17 00:00:00 2001 From: thehrz Date: Sat, 24 Jun 2023 17:06:00 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63bb01a..564cdef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,27 +41,20 @@ jobs: - name: Typecheck run: pnpm run typecheck - + test: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - node-version: [14.x, 16.x] - os: [ubuntu-latest] - fail-fast: false - + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: pnpm/action-setup@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} - registry-url: https://registry.npmjs.org/ + node-version: 16.x cache: pnpm - - run: pnpm install + - name: Install + run: pnpm install + - run: pnpm run test:unit # test-e2e: