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