We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8bbe54 commit aae1279Copy full SHA for aae1279
1 file changed
.github/workflows/wordpress-plugin-check.yml
@@ -1,2 +1,34 @@
1
-- name: WordPress Plugin Check
2
- uses: WordPress/plugin-check-action@v1
+name: WordPress Plugin Check
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build-plugin:
11
+ build:
12
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: Use Node.js ${{ matrix.node-version }}
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: latest
21
+ cache: 'npm'
22
+ - run: npm install
23
+ - run: npm run build --if-present
24
25
26
+ plugin-check:
27
+ needs: build-plugin
28
29
30
+ - name: Checkout
31
+ uses: actions/checkout@v4
32
33
+ - name: Run plugin check
34
+ uses: wordpress/plugin-check-action@v1
0 commit comments