diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11a5aaa..abf56e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - node-version: [16.x, 18.x] + node-version: [18.x, 20.x] runs-on: ${{ matrix.os }} @@ -56,14 +56,22 @@ jobs: run: pnpm test release: - runs-on: ubuntu-latest - needs: [test] if: '!contains(github.event.head_commit.message, ''skip-release'') && !contains(github.event.head_commit.message, ''skip-ci'') && github.event_name != ''pull_request''' + + strategy: + matrix: + os: [ubuntu-latest] + node-version: [20.x] + + runs-on: ${{ matrix.os }} + needs: [test] + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: ${{ matrix.node-version }} + - name: Cache pnpm store uses: actions/cache@v4 env: