ci: use PHP 7.4 for deployment preparation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Stefan Kalscheuer 2022-01-23 17:32:51 +01:00
parent a2b001a581
commit 39689dcbcb
Signed by: stefan
GPG Key ID: 3887EC2A53B55430
3 changed files with 5 additions and 5 deletions

View File

@ -8,17 +8,17 @@ steps:
commands:
- composer install --ignore-platform-req=php
- name: lint-php
image: composer:2
image: php:7.4
commands:
- ./vendor/bin/phpcs
depends_on:
- composer-install
- name: node-install
image: node:14
image: node:16
commands:
- npm install
- name: lint-assets
image: node:14
image: node:16
commands:
- npx eslint scripts/block.js
- npx eslint scripts/liveticker.js

View File

@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '7.4'
tools: composer
- name: Install
run: composer install --no-interaction

View File

@ -14,7 +14,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '7.4'
tools: composer
- name: Install
run: composer install --no-interaction