chore(ci): use Node.js version `lts/*` at `lint` and `release`

This commit is contained in:
郭桓桓 2023-03-06 22:12:09 +08:00
parent e9264bfa01
commit 28fcbf66a8
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: lts/*
registry-url: https://registry.npmjs.com
# Step III
- name: Install Dependencies
@ -41,7 +41,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16, 18, lts/*, latest]
node-version: [16, 18, latest]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:

View File

@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: lts/*
registry-url: https://registry.npmjs.com
# Step III
- name: Install Dependencies