Skip to content

Commit

Permalink
ci: upgrade node version (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Aug 28, 2023
1 parent 75bec03 commit b8dbcb4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Expand Up @@ -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 }}"
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Expand Up @@ -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"

Expand Down

0 comments on commit b8dbcb4

Please sign in to comment.