Add matomo tracking for data analysis #95
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: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
php-cs-fix: | |
name: PHP-CS-Fixer | |
runs-on: ubuntu-20.04 | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run PHP-CS-Fixer | |
run: bin/php-cs-fixer | |
- name: Commit and push back changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "Fix CS with PHP-CS-Fixer" | |
js-cs-fix: | |
name: ESLint | |
runs-on: ubuntu-20.04 | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: Install modules | |
run: npm install | |
- name: Run ESLint | |
run: node_modules/eslint/bin/eslint.js assets/js --fix | |
- name: Commit and push back changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "Fix CS with ESLint" |