From 39689dcbcb685048fbdccaf0b70f11f11fd05de4 Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Sun, 23 Jan 2022 17:32:51 +0100 Subject: [PATCH] ci: use PHP 7.4 for deployment preparation --- .drone.yml | 6 +++--- .github/workflows/wordpress-plugin-asset-update.yml | 2 +- .github/workflows/wordpress-plugin-deploy.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2878227..ef96748 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/.github/workflows/wordpress-plugin-asset-update.yml b/.github/workflows/wordpress-plugin-asset-update.yml index 20fd65f..78356a8 100644 --- a/.github/workflows/wordpress-plugin-asset-update.yml +++ b/.github/workflows/wordpress-plugin-asset-update.yml @@ -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 diff --git a/.github/workflows/wordpress-plugin-deploy.yml b/.github/workflows/wordpress-plugin-deploy.yml index 8b93218..3e519cb 100644 --- a/.github/workflows/wordpress-plugin-deploy.yml +++ b/.github/workflows/wordpress-plugin-deploy.yml @@ -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