Skip to content

Bump ejs from 3.1.9 to 3.1.10 in /frontend in the npm_and_yarn group #80

Bump ejs from 3.1.9 to 3.1.10 in /frontend in the npm_and_yarn group

Bump ejs from 3.1.9 to 3.1.10 in /frontend in the npm_and_yarn group #80

Workflow file for this run

name: "Code quality"
on:
workflow_call:
pull_request:
push:
branches:
- main
env:
APP_ENV: dev
jobs:
backend-code-quality:
name: Backend code quality checks
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v4
with:
sparse-checkout: 'backend/'
sparse-checkout-cone-mode: false
- name: Move backend to root
run: |
shopt -s dotglob
mv backend/* ./
rm -rf backend/
- name: Packages install
uses: php-actions/composer@v6
with:
args: --profile --ignore-platform-reqs
# - name: Run PHPCS
# uses: php-actions/phpcs@v1
# with:
# path: ./src/
# args: -d memory_limit=-1
- name: Run PHPStan
uses: php-actions/phpstan@v3
with:
php_version: 8.2
# - name: Run PHPUnit
# uses: php-actions/phpunit@v3
# with:
# version: 9.6
# php_version: 8.2
# php_extensions: "xdebug"
# coverage_clover: "coverage/clover.xml"
frontend-code-quality:
name: Frontend code quality checks
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v4
with:
sparse-checkout: 'frontend/'
sparse-checkout-cone-mode: false
- name: Move frontend to root
run: |
shopt -s dotglob
mv frontend/* ./
rm -rf frontend/
ls -lah
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Packages Install
run: npm ci
- name: Run ESLint
run: npm run analyze