-
-
Notifications
You must be signed in to change notification settings - Fork 41
28 lines (28 loc) · 725 Bytes
/
Copy pathplugin-check.yml
File metadata and controls
28 lines (28 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Plugin Check
permissions:
contents: read
pull-requests: write
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node
uses: actions/setup-node@v7
with:
node-version: '24'
cache: 'npm'
- name: Composer dependencies
run: composer install --no-dev --no-interaction --optimize-autoloader
- name: Build
run: composer run-script build
- name: Run plugin check
uses: wordpress/plugin-check-action@v1
with:
build-dir: './multisite-language-switcher'