Skip to content

Commit 9ba7fd9

Browse files
authored
Prepare 1.2.0: .github/workflows
1 parent dd28db6 commit 9ba7fd9

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

‎.github/workflows/checks.yml‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Plugin checks
2+
on:
3+
push:
4+
pull_request:
5+
jobs:
6+
syntax:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
php: ['8.0', '8.4']
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: shivammathur/setup-php@v2
14+
with:
15+
php-version: ${{ matrix.php }}
16+
coverage: none
17+
- name: Check PHP syntax
18+
run: find . -name '*.php' -print0 | xargs -0 -n1 php -l
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: '22'
22+
- name: Check generator JavaScript
23+
run: node --check assets/admin/tools.js
24+
- name: Check release documentation
25+
run: python3 tools/check_release.py
26+
- name: Build installable ZIP
27+
run: python3 tools/package.py --output builder-shortcode-extras.zip

0 commit comments

Comments
 (0)