wp-liveticker/.drone.yml
Stefan Kalscheuer 5a1320c365
All checks were successful
continuous-integration/drone/push Build is passing
add testbed for WP 5.9 and PHP 8.0, update actions
2022-05-14 18:26:01 +02:00

30 lines
613 B
YAML

kind: pipeline
name: default
type: docker
steps:
- name: composer-install
image: composer:2
commands:
- composer install --ignore-platform-req=php
- name: lint-php
image: php:8.0
commands:
- ./vendor/bin/phpcs
depends_on:
- composer-install
- name: node-install
image: node:16
commands:
- npm install
- name: lint-assets
image: node:16
commands:
- npx eslint scripts/block.js
- npx eslint scripts/liveticker.js
- npx stylelint styles/block.css
- npx stylelint styles/liveticker.css
depends_on:
- node-install