-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and GitHub action
- Loading branch information
1 parent
29e6bf7
commit 642bc43
Showing
4 changed files
with
3,109 additions
and
2,654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.