From 135b5315ea469eeb84c264aa827b70b2efb2123f Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Thu, 18 Jun 2026 06:49:49 +0300 Subject: [PATCH 1/2] Issue #453: Implement CSS/JS builder Signed-off-by: alexmerlin --- .github/workflows/build-assets.yml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/build-assets.yml diff --git a/.github/workflows/build-assets.yml b/.github/workflows/build-assets.yml new file mode 100644 index 0000000..ff46b4a --- /dev/null +++ b/.github/workflows/build-assets.yml @@ -0,0 +1,33 @@ +name: Build Assets + +on: push + +permissions: + contents: read + +jobs: + build: + name: Build assets (Node ${{ matrix.node-version }}) + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: ["20", "22", "24", "26"] + + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - name: Set up Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v6 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + run: npm install + + - name: Build assets + run: npm run build + + - name: Audit dependencies + run: npm audit --audit-level=critical From 8908743c0d90eec86d519efcbd60aa22a83126d4 Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Thu, 18 Jun 2026 06:56:54 +0300 Subject: [PATCH 2/2] Issue #453: Implement CSS/JS builder Signed-off-by: alexmerlin --- .github/workflows/build-assets.yml | 2 +- README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-assets.yml b/.github/workflows/build-assets.yml index ff46b4a..4033a3e 100644 --- a/.github/workflows/build-assets.yml +++ b/.github/workflows/build-assets.yml @@ -27,7 +27,7 @@ jobs: run: npm install - name: Build assets - run: npm run build + run: npm run prod - name: Audit dependencies run: npm audit --audit-level=critical diff --git a/README.md b/README.md index bb808c2..3c8a1f4 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ Documentation is available at: https://docs.dotkernel.org/admin-documentation/ [![codecov](https://codecov.io/gh/dotkernel/admin/graph/badge.svg?token=BQS43UWAM4)](https://codecov.io/gh/dotkernel/admin) [![Qodana](https://github.com/dotkernel/admin/actions/workflows/qodana_code_quality.yml/badge.svg?branch=7.0)](https://github.com/dotkernel/admin/actions/workflows/qodana_code_quality.yml) [![PHPStan](https://github.com/dotkernel/admin/actions/workflows/static-analysis.yml/badge.svg?branch=7.0)](https://github.com/dotkernel/admin/actions/workflows/static-analysis.yml) +[![Build Assets](https://github.com/dotkernel/admin/actions/workflows/build-assets.yml/badge.svg?branch=7.0)](https://github.com/dotkernel/admin/actions/workflows/build-assets.yml) ## Getting Started