Skip to content

Commit

Permalink
ci: add setup-node and turn on NO_INSTALL_NPM flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rezaelahidev committed Aug 29, 2024
1 parent 3a61dae commit c5436be
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/plugin-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@ concurrency:

jobs:
test_wp_plugin_check:
name: WordPress (PCP)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js and install dependencies
uses: ./.github/setup-node

- name: Build Blockera plugin ZIP file
run: ./bin/build-plugin-zip.sh
env:
NO_CHECKS: 'true'
NO_INSTALL_NPM: 'true'

- name: Test With WordPress Plugin Check (PCP)
uses: wordpress/plugin-check-action@v1
with:
Expand All @@ -33,6 +43,7 @@ jobs:
accessibility
test_php_security_check:
name: PHP Security Check
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit c5436be

Please sign in to comment.