epic: mvp index #9
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: Coding Standards | |
on: | |
pull_request: | |
branches: [main, epic/*] | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Check Coding Standards | |
runs-on: ubuntu-latest | |
environment: testing | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependenices | |
uses: ./.github/actions/install | |
- name: Generate testing files | |
shell: bash | |
run: | | |
envsubst < tests/.env.example > tests/.env | |
php vendor/bin/codecept build | |
- name: Lint PHP | |
shell: bash | |
run: | | |
composer run-script lint | |
composer run-script analyze | |
- name: Lint JavaScript | |
shell: bash | |
run: | | |
npm run lint:js | |
npm run check | |
- name: Lint Styles | |
shell: bash | |
run: npm run lint:css |