Skip to content

fix: lint pint error #8

fix: lint pint error

fix: lint pint error #8

name: Lint and build check
on: [push]
jobs:
npm-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install NPM dependencies
run: npm ci
- name: Lint check
run: npm run lint
pint-lint:
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 --test
npm-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install NPM dependencies
run: npm ci
- name: Build check
run: npm run build