diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc10acd3..920ea82d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,13 +35,13 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node_version: [14, 16, 18] + node_version: [14, 16, 18, 20] include: # Active LTS + other OS - os: macos-latest - node_version: 16 + node_version: 18 - os: windows-latest - node_version: 16 + node_version: 18 fail-fast: false name: "Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}" @@ -94,19 +94,19 @@ jobs: if: github.repository == 'vitejs/vite-plugin-vue' timeout-minutes: 10 runs-on: ubuntu-latest - name: "Lint: node-16, ubuntu-latest" + name: "Lint: node-LTS, ubuntu-latest" steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Install pnpm - uses: pnpm/action-setup@v2.4.0 + uses: pnpm/action-setup@v2 - - name: Set node version to 16 + - name: Set node version to LTS uses: actions/setup-node@v3 with: - node-version: 16 + node-version: lts/* cache: "pnpm" - name: Install deps diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fd6dc6d5..f493a223 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,12 +18,12 @@ jobs: uses: actions/checkout@v3 - name: Install pnpm - uses: pnpm/action-setup@v2.4.0 + uses: pnpm/action-setup@v2 - - name: Set node version to 16.x + - name: Set node version to LTS uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: lts/* registry-url: https://registry.npmjs.org/ cache: "pnpm"