diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml new file mode 100644 index 00000000000..c48f902153a --- /dev/null +++ b/.github/workflows/webpack.yml @@ -0,0 +1,31 @@ +name: Webpack Build & CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + name: Build & Bundle + runs-on: ubuntu-latest + + 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 Project + run: npm run build + + - name: Run Webpack Bundle + run: npm run webpack