Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmanramsi committed Aug 12, 2023
1 parent 830f790 commit adcfc55
Show file tree
Hide file tree
Showing 6 changed files with 411 additions and 1,356 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/fix-code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Set up PNPM
uses: pnpm/action-setup@v2
with:
version: 8
# - name: Set up PNPM
# uses: pnpm/action-setup@v2
# with:
# version: 8
- name: Install dependencies
run: |
composer install --no-interaction
pnpm install
- name: Run Pint
run: composer pint
- name: Run Prettier
run: pnpm run prettier
# - name: Run Prettier
# run: pnpm run prettier
- name: Pull changes
run: git pull
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: >
chore: fix code style
chore: fix code style
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.md
**/dist
**/vendor
composer.lock
docs-assets
tests/src/Upgrade/Fixture
public
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": false,
"singleQuote": true,
"tailwindConfig": "./packages/panels/tailwind.config.js",
"trailingComma": "all"
}
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
}
},
"scripts": {
"pint": "pint",
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
Expand Down
Loading

0 comments on commit adcfc55

Please sign in to comment.