diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a82f5c8..d4d02581 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,15 +38,24 @@ jobs: steps: - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v3 + with: + standalone: true + - name: Set node version to ${{ matrix.node }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - run: corepack enable + cache: pnpm - name: Install run: pnpm i + - name: Downgrade deps for Node 14 + run: pnpm i tsup@6.7.0 + if: ${{ matrix.node == 14 }} + - name: Build run: pnpm run build