From 576e473634f4099d3315078c5ba1a0541289b9fd Mon Sep 17 00:00:00 2001 From: Halstein Tonheim Date: Mon, 27 Oct 2025 09:09:00 +0100 Subject: [PATCH 1/2] Add build workflow --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..a3fddf5 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ + name: Build on PR + on: + # This workflow will only run for pull requests targeting the main branch + pull_request: + branches: + - main + + jobs: + build: + name: Build Project + runs-on: ubuntu-latest + steps: + # Remember we have to check out the repository first! + - name: Checkout repository + uses: actions/checkout@v5 + + # This step installs the dependencies + - name: Install dependencies + run: npm ci + + - name: Build + run: npm run build \ No newline at end of file From 807f7c5e6e0010b13b012f2417aea0d28529ee9f Mon Sep 17 00:00:00 2001 From: Halstein Tonheim Date: Mon, 27 Oct 2025 09:19:52 +0100 Subject: [PATCH 2/2] Fix bug --- src/scripts/build.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/scripts/build.js b/src/scripts/build.js index 35277e1..4471f1a 100644 --- a/src/scripts/build.js +++ b/src/scripts/build.js @@ -1,10 +1,3 @@ - - - -🧨 I'm a bug!!! Please remove me!!! 🧨 - - - import fs from "node:fs"; import path from "node:path"; import { fileURLToPath } from "node:url";