Skip to content

Commit

Permalink
Add .org plugin check action
Browse files Browse the repository at this point in the history
  • Loading branch information
oakesjosh committed Jan 17, 2025
1 parent 5ac741a commit 002e497
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/plugin-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: WordPress.org Plugin Check

on:
workflow_dispatch:

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install dependencies
run: |
composer install --no-dev --no-scripts
composer run strauss-release
npm install --legacy-peer-deps
- name: Build plugin
run: npm run build

- name: Run plugin check
uses: wordpress/plugin-check-action@v1
with:
build-dir: './'
exclude-directories: 'vendor,src'
categories: |
performance
accessibility

0 comments on commit 002e497

Please sign in to comment.