Skip to content

build(deps-dev): bump express from 4.18.3 to 4.19.2 in /onlyoffice-docspace-wordpress-block #32

build(deps-dev): bump express from 4.18.3 to 4.19.2 in /onlyoffice-docspace-wordpress-block

build(deps-dev): bump express from 4.18.3 to 4.19.2 in /onlyoffice-docspace-wordpress-block #32

Workflow file for this run

name: Lint
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master, develop]
jobs:
csscomb:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.15.1"
- run: |
npm init -y
npm install csscomb --global
csscomb ./**
phpcs:
runs-on: ubuntu-latest
needs: csscomb
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
coverage: none
tools: composer, cs2pr
- name: Get Composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Setup cache
uses: pat-s/always-upload-cache@v1.1.4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Run phpcs
run: |
composer self-update --1
composer install
composer phpcs