From d78ed53977f8472bb45d37d5e6c447694ec0a55e Mon Sep 17 00:00:00 2001 From: Woody Date: Wed, 20 Mar 2024 13:02:05 +0100 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 22fdfc6..43bf51c 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -13,9 +13,13 @@ jobs: strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - command: ['npm build linux', 'npm build windows', 'npm build mac'] - + include: + - os: ubuntu-latest + build-command: 'npm run "build linux"' + - os: windows-latest + build-command: 'npm run "build windows"' + - os: macos-latest + build-command: 'npm run "build mac"' steps: - uses: actions/checkout@v4 - name: Use Node.js