Skip to content

Commit

Permalink
Update wordpress-plugin-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
B-Interactive authored Dec 12, 2024
1 parent f8bbe54 commit aae1279
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions .github/workflows/wordpress-plugin-check.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
- name: WordPress Plugin Check
uses: WordPress/plugin-check-action@v1
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:
- name: Checkout
uses: actions/checkout@v4

- name: Run plugin check
uses: wordpress/plugin-check-action@v1

0 comments on commit aae1279

Please sign in to comment.