Skip to content

simplify CI

simplify CI #1

name: Build, Test and Lint
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run PHPUnit
run: composer run-script test
- name: Run PHPCS
run: composer run-script lint
- name: Install NPM dependencies
run: npm ci
- name: Run lint
run: npm run lint