From 998df6d844ae5b854a88b17a6cc0d104f14139e4 Mon Sep 17 00:00:00 2001 From: Quinten Kock Date: Sun, 3 May 2026 05:32:32 +0200 Subject: [PATCH] Github Actions try 1 --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..89a17b5 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,36 @@ +name: Build + +on: + push: + branches: ["main"] + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "npm" + + - name: Install dependencies + run: npm ci + + - name: Build + run: npm run make + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: build-${{ matrix.os }} + path: out/make/**/* + if-no-files-found: error \ No newline at end of file