Skip to content

Create CNAME

Create CNAME #5

Workflow file for this run

name: Code Style
on:
push:
branches:
- main
jobs:
phplint:
runs-on: ubuntu-latest
name: PHP Lint
steps:
- uses: actions/checkout@v2
- id: PHP-Lint
uses: J3-Tech/[email protected]
with:
path: .
exclude: vendor
php-cs-fixer:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run PHP CS Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php-cs-fixer.dist.php --allow-risky=yes
- name: Commit changes
uses: stefanzweifel/[email protected]
with:
commit_message: Fix styling
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install NPM dependencies
run: npm ci
- name: Run Prettier
run: npm run format
- name: Commit changes
uses: stefanzweifel/[email protected]
with:
commit_message: Apply Prettier changes
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}