Skip to content

Add Plugin Check workflow #4

Add Plugin Check workflow

Add Plugin Check workflow #4

Workflow file for this run

name: 'Plugin Check'
on:
pull_request:
push:
branches:
- main
- trunk
- 'release/**'
jobs:
build-and-test-plugin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up node and enable caching of dependencies
uses: actions/setup-node@v3

Check failure on line 18 in .github/workflows/plugin-check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/plugin-check.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
with:
node-version: '14'
cache: 'yarn'
- name: Build
run: |
composer install
yarn
grunt build
- name: Run plugin check
uses: swissspidy/wp-plugin-check-action@main
with:
build-dir: 'build'