Theme refresh #189
Workflow file for this run
This file contains hidden or 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: code lint | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| code-lint: | |
| name: code lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout repo | |
| uses: actions/checkout@v4 | |
| - name: set up php | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.3' | |
| - name: set up node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: lint php files | |
| run: bash scripts/lint-php.sh | |
| - name: lint javascript files | |
| run: bash scripts/lint-javascript.sh | |
| - name: lint css files | |
| run: bash scripts/lint-css.sh |