ci: use PHP 7.4 for deployment preparation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a2b001a581
commit
39689dcbcb
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user