From 776a56979b769d1effe4abd58cd0f1c46b9115bb Mon Sep 17 00:00:00 2001 From: guenhter Date: Wed, 19 Nov 2025 17:50:13 +0100 Subject: [PATCH] feat: build artifacts --- .github/workflows/dist.yml | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/dist.yml diff --git a/.github/workflows/dist.yml b/.github/workflows/dist.yml new file mode 100644 index 0000000..ab85837 --- /dev/null +++ b/.github/workflows/dist.yml @@ -0,0 +1,40 @@ +name: Build and Release + +on: + push: + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + include: + - os: ubuntu-latest + artifact-name: linux-dist + - os: windows-latest + artifact-name: windows-dist + - os: macos-latest + artifact-name: macos-dist + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Build application + run: npm run dist + + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.artifact-name }} + path: out/make/