1
0
mirror of https://github.com/kuohuanhuan/x-markdown-css.git synced 2024-11-25 06:18:19 +00:00

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

View File

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