Skip to content

ci: fix

ci: fix #2

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.4"
tools: php-cs-fixer
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run ESLint
run: pnpm run lint
- name: Check Prettier formatting
run: pnpm exec prettier --check "src/**/*.{js,vue}"
- name: Run PHP CS Fixer (dry-run)
run: php-cs-fixer fix --dry-run --diff --verbose