From 393681cc28793797b9dcaff8e5b0bda60bc443fd Mon Sep 17 00:00:00 2001 From: 0t4u <61939142+0t4u@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:54:17 +0100 Subject: [PATCH] chore: use vars to define node versions in actions --- .github/workflows/code-check.yml | 2 +- .github/workflows/code-compile.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-check.yml b/.github/workflows/code-check.yml index f76ced7c..c86d8937 100644 --- a/.github/workflows/code-check.yml +++ b/.github/workflows/code-check.yml @@ -20,7 +20,7 @@ jobs: - name: Install Node uses: actions/setup-node@v4 with: - node-version: 18 + node-version: latest - name: Install Deps run: npm i - name: Lint code diff --git a/.github/workflows/code-compile.yml b/.github/workflows/code-compile.yml index ed7c2d64..8a4eef32 100644 --- a/.github/workflows/code-compile.yml +++ b/.github/workflows/code-compile.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: [lts/*, latest] steps: - uses: actions/checkout@v4