Skip to content

Commit 10a5393

Browse files
committed
Merge branch '7.0' into 7.0-clean-packages
2 parents 2e121b2 + 888119f commit 10a5393

3 files changed

Lines changed: 35 additions & 1 deletion

File tree

.github/workflows/build-assets.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build Assets
2+
3+
on: push
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
build:
10+
name: Build assets (Node ${{ matrix.node-version }})
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: ["20", "22", "24", "26"]
16+
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v6
20+
21+
- name: Set up Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v6
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
26+
- name: Install dependencies
27+
run: npm install
28+
29+
- name: Build assets
30+
run: npm run prod
31+
32+
- name: Audit dependencies
33+
run: npm audit --audit-level=critical

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Documentation is available at: https://docs.dotkernel.org/admin-documentation/
3737
[![codecov](https://codecov.io/gh/dotkernel/admin/graph/badge.svg?token=BQS43UWAM4)](https://codecov.io/gh/dotkernel/admin)
3838
[![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)
3939
[![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)
40+
[![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)
4041

4142
## Getting Started
4243

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"phpunit/phpunit": "^12.5.23",
6868
"roave/security-advisories": "dev-latest",
6969
"symfony/var-dumper": "^7.4.0",
70-
"vincentlanglet/twig-cs-fixer": "^3.11.0"
70+
"vincentlanglet/twig-cs-fixer": "^4.0.0"
7171
},
7272
"autoload": {
7373
"psr-4": {

0 commit comments

Comments
 (0)