Skip to content

Commit

Permalink
Use GitHub Marketplace script to install wp-cli.
Browse files Browse the repository at this point in the history
  • Loading branch information
boonebgorges committed Jan 3, 2024
1 parent dc085a0 commit 314068d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Build
- name: Setup WP-CLI
uses: godaddy-wordpress/setup-wp-cli@1

- name: NPM build
run: |
npm install
npm run build
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"scripts": {
"makepot-audit": [
"./vendor/bin/wp --allow-root i18n make-pot . languages/pressforward.pot --slug=pressforward --exclude=\".github,node_modules,vendor,build\""
"wp --allow-root i18n make-pot . languages/pressforward.pot --slug=pressforward --exclude=\".github,node_modules,vendor,build\""
],
"makepot": [
"@makepot-audit --skip-audit"
Expand Down

0 comments on commit 314068d

Please sign in to comment.