From 28fcbf66a8562ba4251b65cfc41feeca80498c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E6=A1=93=E6=A1=93?= <hi@nekohuan.cyou> Date: Mon, 6 Mar 2023 22:12:09 +0800 Subject: [PATCH] chore(ci): use Node.js version `lts/*` at `lint` and `release` --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ce7dfe..91ce832 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fae14e9..ced0d37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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