Skip to content

Merge pull request #121 from ryanwelcher/feature/automated-test-playg… #4

Merge pull request #121 from ryanwelcher/feature/automated-test-playg…

Merge pull request #121 from ryanwelcher/feature/automated-test-playg… #4

name: Static Linting
on:
pull_request:
push:
branches:
- trunk
jobs:
php:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: php-actions/composer@v6
- name: Lint PHP files
run: composer run lint
name: PHP Files
other:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Lint JavaScript files
run: npm run lint:js
env:
CI: true
name: Javascript