Other version references #138
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and Test | |
on: push | |
jobs: | |
lint: | |
name: Lint and Test | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
tools: composer:v2 | |
- name: Install NPM dependencies | |
run: npm install | |
- name: Install Composer dependencies | |
run: composer install | |
- name: Lint | |
run: npm run lint | |
- name: Pull Docker Images | |
run: docker-compose pull wordpress | |
- name: Test PHP | |
run: npm run phpunit | |
- name: Build | |
run: npm run build |