Skip to content

add PHPCS and Stylelint environment, test in CI, ignore from deployment #13

add PHPCS and Stylelint environment, test in CI, ignore from deployment

add PHPCS and Stylelint environment, test in CI, ignore from deployment #13

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Code style checks for PHP
run: |
composer install
composer lint-php
- name: Code style checks for SCSS
run: |
npm ci
npm run lint-scss