|
|
@ -28,7 +28,7 @@ jobs: |
|
|
|
- name: Install Node |
|
|
|
- name: Install Node |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
node-version: '10' |
|
|
|
node-version: '14' |
|
|
|
|
|
|
|
|
|
|
|
- name: Install OS dependencies |
|
|
|
- name: Install OS dependencies |
|
|
|
run: sudo apt-get install libxml2-utils ghostscript poppler-utils |
|
|
|
run: sudo apt-get install libxml2-utils ghostscript poppler-utils |
|
|
@ -85,7 +85,7 @@ jobs: |
|
|
|
chmod +x wp-cli.phar |
|
|
|
chmod +x wp-cli.phar |
|
|
|
mv wp-cli.phar /usr/local/bin/wp |
|
|
|
mv wp-cli.phar /usr/local/bin/wp |
|
|
|
wp package install wp-cli/dist-archive-command |
|
|
|
wp package install wp-cli/dist-archive-command |
|
|
|
npm run build:production |
|
|
|
npm run build |
|
|
|
composer install --no-dev --optimize-autoloader |
|
|
|
composer install --no-dev --optimize-autoloader |
|
|
|
cd .. |
|
|
|
cd .. |
|
|
|
wp dist-archive $GITHUB_REPO_SLUG $GITHUB_BUILD_PATH/$GITHUB_REPO_SLUG-$GITHUB_TAG.zip |
|
|
|
wp dist-archive $GITHUB_REPO_SLUG $GITHUB_BUILD_PATH/$GITHUB_REPO_SLUG-$GITHUB_TAG.zip |
|
|
|