Skip to content

Merge branch 'fix/improve-host-compatibility' of github.com:WordPress… #89

Merge branch 'fix/improve-host-compatibility' of github.com:WordPress…

Merge branch 'fix/improve-host-compatibility' of github.com:WordPress… #89

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
lint:
name: Test
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install NodeJS
uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
with:
node-version-file: '.nvmrc'
- name: Setup PHP and Composer
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: composer:v2
- name: Install all dependencies
run: |
npm install
npm run wp-env start
npm run wp-env run composer 'install --no-dev'
npm run setup:readme-parser
- name: Setup environment tools
run: npm run setup:tools
- name: Test
run: npm test