Skip to content

Commit

Permalink
Align workflows for testing and use composer install in php-test
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jan 31, 2024
1 parent 2591052 commit cfd3276
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php-test-standalone-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: npm
- name: npm install
run: npm ci
- name: General debug information
run: |
npm --version
node --version
composer --version
php -v
- name: npm install
run: npm ci
- name: Building standalone plugins
run: npm run build-plugins
- name: Running single site standalone plugin integration tests
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,22 @@ jobs:
steps:
- uses: styfle/cancel-workflow-action@0.11.0
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Setup Node.js (.nvmrc)
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: npm
- name: Composer update
run: composer update
- name: General debug information
run: |
npm --version
node --version
composer --version
php -v
- name: Composer install
run: composer install
- name: npm install
run: npm ci
- name: Install WordPress
Expand Down

0 comments on commit cfd3276

Please sign in to comment.