Skip to content

Bump serialize-javascript from 6.0.1 to 6.0.2 #1

Bump serialize-javascript from 6.0.1 to 6.0.2

Bump serialize-javascript from 6.0.1 to 6.0.2 #1

Workflow file for this run

name: Code Analysis
on: pull_request
# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
analysis:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['18.15.0']
php: ['8.2']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use desired version of NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Cache NPM packages
uses: actions/cache@v4
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
- name: Install npm dependencies
run: npm install --legacy-peer-deps
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
tools: composer, cs2pr, phpcs
- name: Install composer dependencies
run: composer config github-oauth.github.com ${{ secrets.PRIVATE_ACCESS_TOKEN }} && composer install --prefer-dist --no-suggest --no-progress
# - name: PHPCS check
# if: always()
# uses: chekalsky/phpcs-action@v1
# with:
# phpcs_bin_path: './vendor/bin/phpcs'
- name: Run phpcs
id: phpcs
if: always()
run: ./vendor/bin/phpcs --report-full --report-checkstyle=./phpcs-report.xml
- name: Lint JS
if: always()
run: npm run lint-js
- name: Lint CSS
if: always()
run: npm run lint-css
- name: PHP static analysis
if: always()
run: composer run phpstan