Skip to content

feat: Fix permissions (old were vue package) #5

feat: Fix permissions (old were vue package)

feat: Fix permissions (old were vue package) #5

Workflow file for this run

name: Format Code
on:
push:
branches:
- "**"
pull_request:
branches:
- main
jobs:
type-and-javascript-formatting:
name: Type- and JavaScript Formatting
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install Dependencies
run: npm install
- name: Run Tests
run: npm run format
php-formatting:
name: PHP Formatting
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.3]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: json, dom, curl, libxml, mbstring
coverage: none
- name: Install Pint
run: composer global require laravel/pint
- name: Run Pint
run: pint
- name: Commit linted files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Fixes php coding style"