diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 54d10a3..8cdeeeb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,3 +29,23 @@ jobs: run: pnpm run format:check - name: Lint run: pnpm run lint + + unit: + runs-on: ubuntu-latest + needs: static-analysis + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: pnpm/action-setup@v2 + with: + version: 8 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'pnpm' + - name: Install dependencies + run: pnpm install --prefer-offline + - name: Run unit tests + run: pnpm run test