Skip to content

Build/deploy automation: dependency fixes + CI cleanup #14

Build/deploy automation: dependency fixes + CI cleanup

Build/deploy automation: dependency fixes + CI cleanup #14

Workflow file for this run

name: PR lint & test
on:
push:
branches:
- pre-develop
pull_request:
branches:
- pre-develop
jobs:
js-lint:
name: JS lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm run lint:js
continue-on-error: true
php-compat:
name: PHP ${{ matrix.php-version }} — composer install
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer
- uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.lock') }}
- run: composer install