Commit f0c3a40 1 parent ec92bf4 commit f0c3a40 Copy full SHA for f0c3a40
File tree 4 files changed +34
-0
lines changed
4 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 5
5
/.wordpress-org
6
6
/bin
7
7
/coverage
8
+ /dist
8
9
/node_modules
9
10
/tests
10
11
/vendor
Original file line number Diff line number Diff line change 18
18
/.stylelintrc.json export-ignore
19
19
/composer.json export-ignore
20
20
/composer-php5.json export-ignore
21
+ /dist export-ignore
21
22
/package.json export-ignore
22
23
/package-lock.json export-ignore
23
24
/composer.lock export-ignore
Original file line number Diff line number Diff line change
1
+ name : Plugin check
2
+ on :
3
+ push :
4
+ branches : [ 'stable', 'release/*' ]
5
+ pull_request :
6
+ branches : [ 'stable' ]
7
+ jobs :
8
+ check :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v4
13
+
14
+ - name : Setup PHP
15
+ uses : shivammathur/setup-php@v2
16
+ with :
17
+ php-version : ' 8.2'
18
+ tools : composer
19
+
20
+ - name : Build
21
+ run : composer install --no-interaction
22
+
23
+ - name : Package plugin
24
+ run : |
25
+ mkdir -p ./dist
26
+ rsync -rc --exclude-from=.distignore ./ ./dist/statify --delete --delete-excluded
27
+
28
+ - name : Check WP plugin
29
+ uses : wordpress/plugin-check-action@v1
30
+ with :
31
+ build-dir : ./dist/statify
Original file line number Diff line number Diff line change 3
3
.nyc_output
4
4
composer.lock
5
5
coverage
6
+ dist /
6
7
css /* .min.css
7
8
js /* .min.js
8
9
js /* .min.js.map
You can’t perform that action at this time.
0 commit comments