Skip to content

Update dependency @types/node to v20.14.11 #57

Update dependency @types/node to v20.14.11

Update dependency @types/node to v20.14.11 #57

Workflow file for this run

name: Tests
on:
push:
branches:
- develop
- main
pull_request:
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- run: composer install
- run: composer run lint:style
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- run: composer install
- run: composer run lint:static