Update README with development status and installation instructions (… #30
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: 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 |