Skip to content

Commit a2ef4ab

Browse files
author
George
committed
Merge remote-tracking branch 'origin/7.0-clean-packages' into 7.0-clean-packages
2 parents 2e121b2 + 1657863 commit a2ef4ab

6 files changed

Lines changed: 40 additions & 6 deletions

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@v7
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

.github/workflows/codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v6
24+
uses: actions/checkout@v7
2525

2626
- name: Install PHP
2727
uses: shivammathur/setup-php@v2
@@ -49,6 +49,6 @@ jobs:
4949
run: vendor/bin/phpunit --colors=always --coverage-clover clover.xml
5050

5151
- name: Send code coverage report to Codecov.io
52-
uses: codecov/codecov-action@v6
52+
uses: codecov/codecov-action@v7
5353
with:
5454
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/qodana_code_quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
php-versions: ['8.3', '8.4', '8.5' ]
2020
steps:
21-
- uses: actions/checkout@v6
21+
- uses: actions/checkout@v7
2222
with:
2323
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
2424
fetch-depth: 0 # a full history is required for pull request analysis
@@ -43,6 +43,6 @@ jobs:
4343
- name: Install dependencies with composer
4444
run: composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
4545
- name: 'Qodana Scan'
46-
uses: JetBrains/qodana-action@v2025.3
46+
uses: JetBrains/qodana-action@v2026.1.3
4747
env:
4848
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v6
24+
uses: actions/checkout@v7
2525

2626
- name: Install PHP
2727
uses: shivammathur/setup-php@v2

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)