wp-liveticker/.drone.yml
Stefan Kalscheuer f4f210f105
All checks were successful
continuous-integration/drone/push Build is passing
update dev-dependencies, build with Node 22
2024-11-07 18:34:48 +01: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.2
commands:
- ./vendor/bin/phpcs
depends_on:
- composer-install
- name: node-install
image: node:20
commands:
- npm install
- name: lint-assets
image: node:22
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