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 2
2
/.git
3
3
/.github
4
4
/.wordpress-org
5
+ /dist
5
6
/node_modules
6
7
/vendor
7
8
Original file line number Diff line number Diff line change 1
1
# Directories
2
2
/.github export-ignore
3
3
/.wordpress-org export-ignore
4
+ /dist export-ignore
4
5
/node_modules export-ignore
5
6
/vendor export-ignore
6
7
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/spcl --delete --delete-excluded
27
+
28
+ - name : Check WP plugin
29
+ uses : wordpress/plugin-check-action@v1
30
+ with :
31
+ build-dir : ./dist/spcl
Original file line number Diff line number Diff line change 1
1
/assets /js /* .min.js
2
+ /dist
2
3
/node_modules
3
4
/vendor
You can’t perform that action at this time.
0 commit comments