Skip to content

Commit 7787970

Browse files
Add build step, check build folder
1 parent 900e4df commit 7787970

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/plugin-check.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,17 @@ on:
88
- 'release/**'
99

1010
jobs:
11-
test:
11+
build-and-test-plugin:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v3
16+
- name: Build
17+
run: |
18+
composer install
19+
yarn
20+
grunt build
1621
- name: Run plugin check
17-
uses: swissspidy/wp-plugin-check-action@main
22+
uses: swissspidy/wp-plugin-check-action@main
23+
with:
24+
build-dir: 'build'

0 commit comments

Comments
 (0)