-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/block-settings-description-add
- Loading branch information
Showing
39 changed files
with
820 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,15 +32,23 @@ jobs: | |
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 7.4 | ||
- run: | | ||
npm install | ||
npm install -g @wordpress/env | ||
wp-env start | ||
composer global require wp-cli/wp-cli-bundle | ||
- run: npm run build | ||
- run: npx gulp dist | ||
- run: cd dist/ && zip -r ${{ env.plugin_name }}.zip ${{ env.plugin_name }}/ && mv ${{ env.plugin_name }}.zip ${GITHUB_WORKSPACE} | ||
|
||
- name: Install NPM Scripts | ||
run: npm install | ||
- name: Install @wordpress/env | ||
run: npm install -g @wordpress/env | ||
- name: Run @wordpress/env | ||
run: wp-env start | ||
- name: Install WP-CLI | ||
run: | | ||
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | ||
chmod +x wp-cli.phar | ||
mv wp-cli.phar /usr/local/bin/wp | ||
- name: Build | ||
run: npm run build | ||
- name: Make Distribution | ||
run: | | ||
npx gulp dist | ||
cd dist/ && zip -r ${{ env.plugin_name }}.zip ${{ env.plugin_name }}/ && mv ${{ env.plugin_name }}.zip ${GITHUB_WORKSPACE} | ||
- name: rsync deployments | ||
uses: burnett01/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.