From 9c98654ae7fb358387598f5603f06a9e3564cdd5 Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 11 Oct 2023 20:31:33 +0200 Subject: [PATCH] adding building for platform on github actions --- .github/workflows/node.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 0cce093..2f8943e 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -32,6 +32,15 @@ jobs: run: npm run build --if-present - name: Electronegativity uses: doyensec/electronegativity-action@v2.0 + - name: Build for Windows + if: startsWith(matrix.os, 'windows') + run: npm run build:win + - name: Build for macOS + if: startsWith(matrix.os, 'macos') + run: npm run build:mac + - name: Build for Linux + if: startsWith(matrix.os, 'ubuntu') + run: npm run build:linux - name: Upload Artifact uses: actions/upload-artifact@v3 with: