From b4c4b6a24373e0b18feaf032f83d5ad556d4403f Mon Sep 17 00:00:00 2001 From: LcferShell <71859305+LcfherShell@users.noreply.github.com> Date: Sun, 13 Oct 2024 07:49:30 +0700 Subject: [PATCH] node.js.yml --- .github/workflows/node.js.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b4146c7..ad2fa70 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -11,14 +11,13 @@ on: jobs: build: - - runs-on: ubuntu-latest - + strategy: matrix: - node-version: [18.x, 20.x, 22.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - + os: [ubuntu-latest, windows-latest, macos-latest] + node-version: [14.x, 16.x, 18.x, 20.x, 22.x] + + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }}