From 96d461675d0d8ebd76acd69b8bdebc7636e05511 Mon Sep 17 00:00:00 2001 From: Steel Wagstaff Date: Fri, 16 Jul 2021 16:18:49 -0700 Subject: [PATCH] Pipeline fix (#266) * Update pipeline & package commands --- .github/workflows/.pipeline.yml | 4 ++-- package.json | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/.pipeline.yml b/.github/workflows/.pipeline.yml index bbfccb3..a895668 100644 --- a/.github/workflows/.pipeline.yml +++ b/.github/workflows/.pipeline.yml @@ -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 diff --git a/package.json b/package.json index d9de1dc..fccbf4c 100644 --- a/package.json +++ b/package.json @@ -59,8 +59,7 @@ }, "scripts": { "watch": "mix watch", - "prod": "npm run production", - "build:production": "npm run production", + "build": "npm run production", "production": "mix --production", "rmdist": "rimraf dist", "test": "npm run -s lint",