Install composer/npm deps for qodana.
This commit is contained in:
parent
e65d9a6cfc
commit
509bab0b80
|
@ -13,6 +13,23 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.2'
|
||||
extensions: intl, xdebug
|
||||
tools: composer:v2, cs2pr
|
||||
|
||||
- name: Run Composer install
|
||||
run: |
|
||||
composer install --no-interaction --ignore-platform-reqs
|
||||
|
||||
- name: Run NPM install
|
||||
run: |
|
||||
cd frontend
|
||||
npm ci --include=dev
|
||||
|
||||
- name: 'Qodana Scan'
|
||||
uses: JetBrains/qodana-action@v2023.2
|
||||
env:
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# Qodana analysis is configured by qodana.yaml file #
|
||||
# https://www.jetbrains.com/help/qodana/qodana-yaml.html #
|
||||
#-------------------------------------------------------------------------------#
|
||||
|
||||
version: "1.0"
|
||||
|
||||
#Specify inspection profile for code analysis
|
||||
|
@ -11,7 +12,6 @@ profile:
|
|||
#Enable inspections
|
||||
#include:
|
||||
# - name: <SomeEnabledInspectionId>
|
||||
|
||||
#Disable inspections
|
||||
#exclude:
|
||||
# - name: <SomeDisabledInspectionId>
|
||||
|
@ -30,3 +30,5 @@ php:
|
|||
|
||||
#Specify Qodana linter for analysis (Applied in CI/CD pipeline)
|
||||
linter: jetbrains/qodana-php:latest
|
||||
include:
|
||||
- name: CheckDependencyLicenses
|
||||
|
|
Loading…
Reference in New Issue