Browse Source

Pipeline fix (#266)

* Update pipeline & package commands
pull/259/head
Steel Wagstaff 3 years ago committed by GitHub
parent
commit
96d461675d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/.pipeline.yml
  2. 3
      package.json

4
.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

3
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",

Loading…
Cancel
Save