Skip to content

Commit

Permalink
Reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
Tymotey committed Sep 13, 2024
1 parent f046220 commit 63599dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
php_version: '7.2'
version: 1

- run: mkdir -p .cache

- name: Run Code Sniffer
run: composer run sniff-check

# Initialize Node.js
- uses: actions/setup-node@v3
with:
Expand All @@ -44,12 +49,6 @@ jobs:
cache: npm
cache-dependency-path: package-lock.json

# Make sure .cache folder exists
- name: 'Create folder .cache'
run: |
mkdir -p .cache && cd .cache && touch .gitkeep
# Start actions
- run: npm ci
- run: composer run sniff-check
- run: npm run format-check
- name: Run Format check
run: npm run format-check
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"vendor/bin/phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility"
],
"sniff-check": [
"vendor/bin/phpcs -p . --standard=./phpcs.xml.dist"
"vendor/bin/phpcs --standard=./phpcs.xml.dist"
]
}
}

0 comments on commit 63599dd

Please sign in to comment.