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 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";