Skip to content

Commit

Permalink
Update dependencies and GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickrobrecht committed Nov 6, 2024
1 parent 29e6bf7 commit 642bc43
Show file tree
Hide file tree
Showing 4 changed files with 3,109 additions and 2,654 deletions.
31 changes: 20 additions & 11 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,33 @@
name: Code style check
name: Check code style

on: push

jobs:
quality:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3

- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install
run: |
composer install --no-interaction
npm ci
- name: Code style checks for PHP
node-version: 22

- name: Install npm dependencies
run: npm clean-install

- name: Check code style for PHP
run: composer cs
- name: Code style checks for CSS and JavaScript

- name: Check code style for CSS and JavaScript
run: npm run cs
69 changes: 46 additions & 23 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 642bc43

Please sign in to comment.