Skip to content

Update wordpress-plugin-check.yml #2

Update wordpress-plugin-check.yml

Update wordpress-plugin-check.yml #2

name: WordPress Plugin Check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-plugin:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
- run: npm install
- run: npm run build --if-present
plugin-check:
needs: build-plugin
steps:

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

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 29
- name: Checkout
uses: actions/checkout@v4
- name: Run plugin check
uses: wordpress/plugin-check-action@v1