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: commands:
- composer install --ignore-platform-req=php - composer install --ignore-platform-req=php
- name: lint-php - name: lint-php
image: composer:2 image: php:7.4
commands: commands:
- ./vendor/bin/phpcs - ./vendor/bin/phpcs
depends_on: depends_on:
- composer-install - composer-install
- name: node-install - name: node-install
image: node:14 image: node:16
commands: commands:
- npm install - npm install
- name: lint-assets - name: lint-assets
image: node:14 image: node:16
commands: commands:
- npx eslint scripts/block.js - npx eslint scripts/block.js
- npx eslint scripts/liveticker.js - npx eslint scripts/liveticker.js

View File

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

View File

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